20 Commits

Author SHA1 Message Date
Ilmir Usmanov
557100059a Add bytecode pretty-printing 2014-08-04 22:56:26 +04:00
Ilmir Usmanov
1f3b5a4c29 Merge 2014-07-24 19:50:37 +04:00
Ilmir Usmanov
1790739b93 Add 'reg_var_decl' opcode 2014-07-24 15:45:55 +04:00
Ilmir Usmanov
764efa41b8 Fix parsing of for-loops. 2014-07-23 20:47:31 +04:00
Ilmir Usmanov
18fcf4bd77 Merge with 'geppetto': Generate bytecode while parsing 2014-07-22 21:18:19 +04:00
Ilmir Usmanov
efb7009cfb Generate bytecode while parsing 2014-07-22 20:49:51 +04:00
Ruben Ayrapetyan
98a0c0f933 Introducing type argument in 'assignment' opcode handler. 2014-07-21 15:57:15 +04:00
Ruben Ayrapetyan
f7abe7190d Implementing var_decl opcode. 2014-07-17 22:02:07 +04:00
Ruben Ayrapetyan
0209acad65 Introducing exitval opcode for end of script and assertions in unit tests. The opcode finishes interpretation with status code 0 (success) or 1 (failure). 2014-07-17 21:32:29 +04:00
e.gavrin
0c9f81dbf9 add var_decl 2014-07-17 15:19:55 +04:00
e.gavrin
9a0b54313d remove opcodes 2014-07-17 13:08:43 +04:00
e.gavrin
a61d31e9bf fix style error: Variable xxx hides enumerator with same name 2014-07-16 23:20:27 +04:00
Ilmir Usmanov
270ee301b4 Start dumping assignment expressions to bytecode; revise bytecode instructions 2014-07-16 22:23:55 +04:00
Ilmir Usmanov
438318d788 Generate getop_* functions 2014-07-16 13:04:30 +04:00
Ilmir Usmanov
a2350cb88e Change parser to stack-only version 2014-07-09 18:05:19 +04:00
e.gavrin
f18a5f5e31 opcodes + refined int structure 2014-07-08 13:18:00 +04:00
e.gavrin
21db33fa97 added opcodes 2014-07-07 23:18:49 +04:00
e.gavrin
8ab8adb031 fixed 2014-07-07 11:55:10 +04:00
e.gavrin
2091bfb9e4 opcodes 2014-07-04 23:51:42 +04:00
e.gavrin
aace544c55 fixed Makefile and tests, wrapped interpreter and opcodes 2014-07-04 21:34:44 +04:00