OSDN Git Service

bytom/equity.git
5 years agofix contract exceptd check (#22)
oysheng [Thu, 25 Oct 2018 09:05:10 +0000 (17:05 +0800)]
fix contract exceptd check (#22)

5 years agoadd tool into Makefile and optimise cmd tips (#20)
oysheng [Tue, 23 Oct 2018 11:05:50 +0000 (19:05 +0800)]
add tool into Makefile and optimise cmd tips (#20)

5 years agoadd README with equity compiler tool (#21)
oysheng [Tue, 23 Oct 2018 11:05:19 +0000 (19:05 +0800)]
add README with equity compiler tool  (#21)

* add README with equity compiler tool

* add readme

* change directory

5 years agoequity compiler tool (#18)
oysheng [Tue, 16 Oct 2018 07:26:58 +0000 (15:26 +0800)]
equity compiler tool (#18)

* add equity compiler tool

* add go vendor

* adjust print

5 years agofix the operation for binary operator with the same variable (#16)
oysheng [Mon, 15 Oct 2018 07:54:30 +0000 (15:54 +0800)]
fix the operation for binary operator with the same variable (#16)

5 years agooptimise count of value (#17)
oysheng [Mon, 15 Oct 2018 07:51:23 +0000 (15:51 +0800)]
optimise count of value (#17)

5 years agooptimise code format (#15)
oysheng [Tue, 9 Oct 2018 02:30:55 +0000 (10:30 +0800)]
optimise code format (#15)

5 years agoifstatement add nop instruction to differ with clause selector for JUMPIF instruction...
oysheng [Tue, 9 Oct 2018 02:29:58 +0000 (10:29 +0800)]
ifstatement add nop instruction to differ with clause selector for JUMPIF instruction (#14)

5 years agooptimise ifstatements jumpif condition check (#13)
oysheng [Mon, 8 Oct 2018 03:05:54 +0000 (11:05 +0800)]
optimise ifstatements jumpif condition check  (#13)

* optimise ifstatements jumpif condition check

* fix unit test

* restore

5 years agosupport BytesLiteral true/false and operator && / || / ! (#12)
oysheng [Sat, 29 Sep 2018 06:04:50 +0000 (14:04 +0800)]
support BytesLiteral true/false and operator && / || / ! (#12)

* modify to support BytesLiteral

* optimise

* fix string literal and add escape character

* add unit test for constant

* add boolean literal true/false

* delete boolean check

* modify keywords

* add unit test

* support ! operator

* support boolean or / and operator

5 years agofix StrLiteral and BytesLiteral to support constant (#11)
oysheng [Fri, 28 Sep 2018 11:25:26 +0000 (19:25 +0800)]
fix StrLiteral and BytesLiteral to support constant  (#11)

* modify to support BytesLiteral

* optimise

* fix string literal and add escape character

* add unit test for constant

5 years agooptimise lockstatement value (#10)
oysheng [Fri, 28 Sep 2018 11:24:29 +0000 (19:24 +0800)]
optimise lockstatement value (#10)

5 years ago add assgin statement and modify defined statement to support declaration (#9)
oysheng [Tue, 18 Sep 2018 07:31:55 +0000 (15:31 +0800)]
 add assgin statement and modify defined statement to support declaration (#9)

* modify define statement

* add assgin statement

* optimise assign statement

* modify print

* add assign statement unit test

* not support that the variable was been used in assign statement when it's not defined

* check whether the defined variable is used or not

5 years agofix related check to support that if-else statement include lock/unlock statement...
oysheng [Thu, 13 Sep 2018 09:11:35 +0000 (17:11 +0800)]
fix related check to support that if-else statement include lock/unlock statement (#8)

* fix Hash Type check

* optimise lock statement

* add if-else check

* optimise check value

* modify value used count

* add statement result check for if-else

* fix check index for if-else statement

* modify test name

* add recursive contract

5 years agoadd if-else statement (#7)
oysheng [Mon, 10 Sep 2018 08:09:52 +0000 (16:09 +0800)]
add if-else statement (#7)

* add define statement for equity

* add test

* add if-else statement

* handle with stack

* optimise parameter reference check

* optimise else label

* optimise ifbody stack

* optimse compile if else statement

* check math for count

* add unit test

* optimise parse ifstatement

* after endif support add statements

* add sequese for ifstatement

* add test

* rm redundant modify

5 years ago add define statement for equity (#6)
oysheng [Fri, 31 Aug 2018 09:51:22 +0000 (17:51 +0800)]
 add define statement for equity  (#6)

* add define statement for equity

* add test

5 years agoadd Makefile and ci (#5)
oysheng [Fri, 24 Aug 2018 05:22:35 +0000 (13:22 +0800)]
add Makefile and ci (#5)

5 years agomodify unit test for check_test (#4)
oysheng [Fri, 24 Aug 2018 02:31:38 +0000 (10:31 +0800)]
modify unit test for check_test (#4)

5 years agoadd test case (#3)
Paladz [Fri, 24 Aug 2018 02:26:25 +0000 (10:26 +0800)]
add test case (#3)

* add test case

* edit for code review

5 years ago add value calculate with lock statement (#2)
oysheng [Thu, 23 Aug 2018 14:44:50 +0000 (22:44 +0800)]
 add value calculate with lock statement  (#2)

* add value calculate with lock statement

* remove redundant require code

* optimise style

* delete redundant function

5 years agoMerge pull request #1 from Bytom/dev
Paladz [Thu, 23 Aug 2018 06:55:31 +0000 (14:55 +0800)]
Merge pull request #1 from Bytom/dev

modify equitycmd from commandline to filename

5 years agomodify equitycmd from commandline to filename
oysheng [Tue, 21 Aug 2018 06:05:29 +0000 (14:05 +0800)]
modify equitycmd from commandline to filename

5 years agocp code from bytom repo
paladz [Mon, 20 Aug 2018 08:43:12 +0000 (16:43 +0800)]
cp code from bytom repo