DE-labtory / koa

The koa is a high-level language that has more expressions than the bitcoin script and is simpler and easy to analyze
Apache License 2.0
74 stars 18 forks source link

Feature/compile blockstatement #272

Closed hihiboss closed 5 years ago

hihiboss commented 5 years ago

resolved: #220 #271

details:

  1. Implemented compileExpressionStatement()
  2. Implemented compileBlockStatement()
  3. Implemented test cases for them.
hihiboss commented 5 years ago

@boohyunsik But now, I can’t reproduce the error in test case. So, I think adding error cases after other methods being implemeted would better. compileBlockStatement() is necessary to implement compileIfStatemet(), etc. :)