Junyoung Cho
0faef8219f
- Apply strict within eval from outside strict context
...
- Fix octal bug in parser
2016-12-23 10:19:51 +09:00
Junyoung Cho
4964d66df8
Fix finding has_catch in Global Code block. Modify binding methods of Global enviroment.
2016-12-22 13:38:31 +09:00
seonghyun kim
ba6400045c
implement basic of try-catch statement
...
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-13 13:23:14 +09:00
seonghyun kim
35142d1c6a
implement eval
...
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-12 14:34:31 +09:00
seonghyun kim
fc16b3a774
implement Math.pow
...
this patch pass math-cordic.js math-partial-sums.js math-spectral-norm.js
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-09 15:10:34 +09:00
seonghyun kim
8acbfcfe52
1. split Vector into TightVector and Vector
...
2. implement basic of DateObject
3. implement continue statement
this patch passes 3d-raytrace.js
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-09 13:56:54 +09:00
Junyoung Cho
f7a22f54fc
Apply clang-formatting
2016-12-08 14:53:01 +09:00
seonghyun kim
288b147659
1. implement tracing stack when got exception
...
2. binding function name
3. implement sandbox for isolate throw exception
4. implement object expression
5. implement get, set object operation
6. implement logical and, or operation
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-12-06 22:22:04 +09:00
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
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
3e1787dd85
implement basic object operation(get,set ownproperty)
...
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-11-24 17:54:47 +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
485fbc25af
initial commit
...
Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
2016-11-17 22:19:49 +09:00