seonghyun kim
ef2987e8b4
1. implement binary operations (+, -, *...)
...
2. implement assigment complex cases( +=, -=...)
3. implement update expressions (++, --)
4. implement if, for statement
5. implement RopeString
6. implement throw statement
this patch passes bitops-bitwise-and.js, bitops-3bit-bits-in-byte.js
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-05 21:49:42 +09:00
seonghyun kim
4c519ff606
implement BasicString
...
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-01 18:06:28 +09:00
seonghyun kim
d587becaf3
1. implement indexed Storages for function
...
2. implement function call
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-01 14:43:06 +09:00
seonghyun kim
a545adebf5
implement declare var, Function Decl, Function Expression
...
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-11-30 19:01:37 +09:00
seonghyun kim
7c47c6ed51
1. implement simple ByteCode (load, store, binary plus)
...
2. implement simple ByteCodeInterpreter
3. implement simple global env
we can run very simple script likes below now
a = b = 1;
b = a + 2;
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-11-29 22:40:21 +09:00
seonghyun kim
9cff64f7a6
implement generate CodeBlock tree in ScriptParser
...
you can see dump of CodeBlock tree with DUMP_CODEBLOCK_TREE=1 option(setenv)
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-11-23 22:00:38 +09:00
seonghyun kim
70f822134c
implement part of esprima::Parser in c++
...
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-11-22 19:08:57 +09:00
seonghyun kim
f380ffce9b
1. add ast nodes
...
2. implement StringView
3. implement esprima::Scanner for script parsing
4. add original source of esprima 3.1.1
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-11-18 21:02:53 +09:00