OSDN Git Service

add the replacement of defined variable for AST and adjusting the structural format...
authoroysheng <33340252+oysheng@users.noreply.github.com>
Thu, 27 Dec 2018 08:23:17 +0000 (16:23 +0800)
committerPaladz <yzhu101@uottawa.ca>
Thu, 27 Dec 2018 08:23:17 +0000 (16:23 +0800)
commit3650db430f00324810b33b01fd313074cc43c32e
tree6836b66c8a3da281397cba1a5fc806ffa4cd2de5
parent1ec98bb47edb9d0fd3447f450e653ea65c5f427f
add the replacement of defined variable for AST and adjusting the structural format (#33)

* add paramenters for function argment expression

* modify struct

* optimise

* replace the temporary variable for its expression

* optimise

* optimise code for expression

* adjusting syntactic format

* optimise lock statements expression

* fix the assign expression

* optimise equitycmd

* modify json name for blockheight
compiler/ast.go
compiler/checks.go
compiler/cmd/equitycmd/equitycmd.go
compiler/compile.go