Commit Graph

23 Commits

Author SHA1 Message Date
Ilmir Usmanov 60fa1d1178 Add checks of dumped literals and identifiers. Fix deserializer and serializer. 2014-07-24 11:55:14 +04:00
Ilmir Usmanov ed4e2a20e4 Add deserializer 2014-07-23 22:55:45 +04:00
Ilmir Usmanov db9d18bd26 Don't dump trash 2014-07-23 21:34:25 +04:00
Ilmir Usmanov 764efa41b8 Fix parsing of for-loops. 2014-07-23 20:47:31 +04:00
Ruben Ayrapetyan 26c00acd50 Refinement of src/main.c. 2014-07-23 19:08:06 +04:00
Ilmir Usmanov e5cdf93d2d Dump script line before bytecode (Only on host). Fix parsing literals: assing literal to temp before usage. 2014-07-23 18:43:03 +04:00
Ilmir Usmanov f264d24b5a Rewrite serializer and lexer: adjust nums' ids, dump strings, nums and rewrites 2014-07-23 17:36:11 +04:00
Ruben Ayrapetyan 1796b9d903 Renaming rest camelCase-named identifiers according to underscore_named_value-naming. 2014-07-23 14:07:45 +04:00
Ruben Ayrapetyan 79f3d97434 Renaming jerry_* identifiers from 'camelCase' to 'underscore_naming'. 2014-07-23 13:03:30 +04:00
Ruben Ayrapetyan 19c15b03b0 Reverting changes in jerry_Exit and adding comment about jerry_AssertFail call. 2014-07-22 21:47:33 +04:00
Ilmir Usmanov efb7009cfb Generate bytecode while parsing 2014-07-22 20:49:51 +04:00
Ilmir Usmanov 87072c6088 Merge with master 2014-07-15 21:42:05 +04:00
Ilmir Usmanov 0647cdd4f1 Add bytecode generator 2014-07-15 19:32:26 +04:00
Ruben Ayrapetyan 0dd13021ae Remove usage of 'double' type. 2014-07-14 19:44:54 +04:00
Ruben Ayrapetyan 30b1a43e1e Adding memcpy, memset (for compiler usage). 2014-07-14 19:43:07 +04:00
Ruben Ayrapetyan bc83f77abe Fixing warnings and removing call to vprintf in src/libruntime/target/stm32f4/*. 2014-07-14 19:39:22 +04:00
Ruben Ayrapetyan 25ad63c9be Adding forgotten jerry-libc.c for linux and stm32f4 targets. 2014-07-10 22:20:31 +04:00
Ruben Ayrapetyan 5b48cb1a37 Move src/libruntime/{linux,stm32f4} to src/libruntime/target. 2014-07-10 22:17:33 +04:00
Ruben Ayrapetyan e6b3be5dfc jerry_Exit - exit function that under !JERRY_NDEBUG, in case status code is non-zero, prints exit status as string and calls handler of failed assertion. 2014-07-10 21:52:15 +04:00
Ruben Ayrapetyan 224c509ff3 Merge with master. 2014-07-10 21:02:48 +04:00
Ruben Ayrapetyan 4cb5fb646e memmove, fprintf. 2014-07-10 19:46:24 +04:00
Ruben Ayrapetyan 76e579d4e1 Remove inclusion of std headers to our headers; move fatal from src/error.h to src/libjsparser/parser.c. 2014-07-10 19:46:24 +04:00
Ruben Ayrapetyan c132f6aa3c Creating libruntime, moving jerry-libc and pretty-printer to libruntime, creating platform-dependent handlers of failed assertions. 2014-07-10 19:46:23 +04:00