22 Commits

Author SHA1 Message Date
Ruben Ayrapetyan
2590b032e1 Fixing get_number_by_idx. 2014-07-21 19:41:12 +04:00
Ruben Ayrapetyan
84131d9a28 Introducing get_number_by_idx interface for retrieving literal number value by it's identifier. Change ecma_Number_t type from double to float. 2014-07-21 19:16:08 +04:00
Ruben Ayrapetyan
ef51126aab Adding boolean return value, indicating whether script execution finished with success or failure, to run_int. Moving opcode loop from run_int to run_int_from_pos. 2014-07-18 12:27:17 +04:00
Ruben Ayrapetyan
819b947445 Introducing try_get_string_by_idx interface for retrieving literal string value by it's identifier. 2014-07-17 21:07:25 +04:00
e.gavrin
a61d31e9bf fix style error: Variable xxx hides enumerator with same name 2014-07-16 23:20:27 +04:00
e.gavrin
73bf0f9be1 remove unused gen_bytecode and save_op_data 2014-07-16 23:03:58 +04:00
Ilmir Usmanov
99464d6ca7 Quickfix 2014-07-10 11:26:52 +04:00
Ilmir Usmanov
2d4b325d24 Fix warnings 2014-07-10 11:01:40 +04:00
e.gavrin
7c55a15002 uncomment assert (opcode <=4) 2014-07-09 19:58:28 +04:00
Ilmir Usmanov
a2350cb88e Change parser to stack-only version 2014-07-09 18:05:19 +04:00
Ilmir Usmanov
f46d5b440c Merge line-by-line parser 2014-07-09 16:17:42 +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
e.gavrin
7759e4b99f fixes 2014-07-04 19:08:21 +04:00
e.gavrin
e3e0167249 remove output from lexer, fixes 2014-07-04 17:11:06 +04:00
e.gavrin
052efb86a9 jmps 2014-07-03 19:22:36 +04:00
e.gavrin
b05eb83966 fixed dump opcode struct 2014-07-03 18:27:49 +04:00
e.gavrin
3fde3400f4 manualy generated blinky opcodes 2014-07-03 16:23:25 +04:00
e.gavrin
eb38816fc4 new generated file + genscript + skeleton of interpreter 2014-07-02 16:42:03 +04:00