RSS feed
722c02ee
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/11 09:25
Never compile scripts as lightweight functions.
0d83e44c
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/11 08:54
Add "jsone" makefile target.
8e938724
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/11 08:42
Clean up for one.c compilation.
0edd1026
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/11 08:05
JSON.stringify()
f4bb8070
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/11 06:24
Fix eval() return value when no arguments are passed.
be3ed525
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/10 18:51
Some cleanups.
e45115fa
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/10 13:54
Handle variable shadowing.
68862386
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/10 13:00
Implement lightweight functions.
e39e0bdc
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/10 10:44
Separate generic AST_IDENTIFIER and EXP_IDENTIFIER.
ab5236f2
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/10 10:01
UTF string index/pointer juggling.
0ddbab57
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/10 07:52
Date.prototype.toJSON().
39dd0a36
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/10 07:42
JSON.parse()
b8aa34d9
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/07 12:39
JSON skeleton.
06e821df
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/10 08:40
Quote strings properly in jsdump.
46dec712
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/10 08:17
Simplify string-buffer function API.
31acf851
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/07 11:52
Expose magic properties in Object.keys and Object.getOwnPropertyNames.
b219aef8
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/07 11:40
Add virtual string array index properties for characters.
d59d0e27
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/07 10:45
Make argc/undefined checks more resilient.
22a74771
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/07 10:21
Implement ES5 array functions.
411b8b5b
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/07 09:24
Use length property of cfunctions to make sure we have at least N args.
7b37ef2b
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/07 08:48
Handle js_tostring on objects without toString or toValue methods.
d5b83c3b
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/07 06:44
Implement Function constructor.
979c7bc1
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/07 05:57
Implement extensible object attribute.
a09493e1
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/06 19:44
Implement ES5 prototype descriptor and misc object functions.
8e917e8c
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/06 18:40
String.trim()
bc6da35e
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/06 13:19
Add decode/encode URI functions.
20a9d526
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/06 12:23
Use getter/setter also for properties used by the with statement.
934c7a37
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/06 11:07
Check list of future reserved words for primary expression identifiers.
f8871d07
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/06 09:56
Add functions to let C bindings define setters and getters.
e65764ec
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/06 09:44
Rename DontDelete flag to DontConf.
d35cef7d
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/06 09:24
Implement getters and setters.
b659aa50
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/06 08:56
Compile ES5 getters and setters.
ca3c7e43
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/06 08:39
Auto-generate the AST name list.
591ea21f
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/05 11:47
Check for value stack overflow.
71afe58c
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/05 09:36
Reset the lastIndex property in String.match() and replace().
9e6b197c
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/05 09:05
Special case handling of regexp source, flags and lastIndex properties.
e17dcbba
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/05 08:57
Encapsulate all regexp state in js_Regexp struct.
9838735f
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/05 08:37
Handle global flag in RexExp.exec() and .test().
f10f1f06
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/05 08:22
aoeu
dd9217c6
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/05 08:14
Fix bug where do/while continue statement jumped to the wrong location.
f725c8cf
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/05 01:00
Fix bug in js_rot.
f0c79577
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/05 00:46
The typeof operator should return 'function' for callable objects.
6ecb4e7a
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/05 00:40
Calculate exponent the same way as fractions for symmetry in the lexer.
7573f423
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/05 00:18
Abort main.c with return status if a script fails.
299d6c71
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/05 00:17
Fix typo in CR/LF handling in lexer.
03b291f6
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/04 11:56
K&R style braces in pretty printer.
241905d4
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/04 10:30
Add load() function to main.c
e645f598
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/04 10:01
Handle global flag in String.match().
450a0ef3
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/04 09:45
Handle String.replace() when the search matches the empty string.
b749e23c
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/04 10:04
String.split().
96667d99
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/02/03 07:49
Use precedence table when pretty-printing syntax.
d949e161
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/31 12:08
String.replace()
b7afd400
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/31 11:14
Add js_pushlstring to avoid a lot of try/malloc/pushstring boilerplate.
6c37f967
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/30 11:53
Use POSIX regcomp/regexec.
63143d83
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/30 10:47
Change license to AGPL.
e4ab13f8
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/28 18:36
Fix clang scan-build warning.
c1fd029e
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/28 18:31
Fix whitespace.
8e10640e
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/28 12:15
Add RegExp class (with no actual regex implementation hooked up).
01cab639
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/28 12:11
Make the array has/get/setindex functions part of the public API.
3b3bf534
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/28 09:38
Array.sort() using insertion sort.
8ade82bd
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/28 08:58
Maintain order of property enumeration by keeping a linked list.
1aa15582
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/28 08:39
Let hasproperty push the value of the property on the stack if it exists.
e8dfb4e6
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/26 12:10
Rename non-js utility sources to not have the 'js' prefix.
de3aa34a
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/27 17:40
Add Date class.
ac953db0
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/27 12:59
Add more array functions.
b1c99267
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/27 08:08
Implement substring and slice.
489365dc
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/27 07:11
Add some more String functions.
cbdebfda
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/25 17:57
Implement some Array functions.
6fd45b83
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/25 17:56
Guard String.fromCharCode malloc with try/endtry.
fac3f501
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/25 17:56
Add js_hasproperty function.
15fb4095
– Sebastian Rasmussen <sebras@gmail.com>
authored
on 2014/01/25 13:59
Update LICENSE and AUTHORS
c85c45ee
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/25 12:59
Create variables as DontDelete and DontEnum.
4ee7ef82
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/25 12:51
Fix off-by-one error in String.fromCharCode().
9103b4f4
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/25 12:46
Add 'own' argument to iterator.
f66986d3
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/25 12:40
Implement a smarter deletion of properties when resizing an array.
8cb771cd
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/25 10:45
Print a better error message when trying to call a non-function.
7159bcd7
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/25 10:00
Make sure to pop error object when we catch them at the top level dofile call.
f52bbd89
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/25 09:47
Fix bug in case OP_INITPROP_N where we used the value as the key.
ecabfe42
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/25 09:08
Don't look for labels past function borders.
2fd435e9
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/24 20:14
Push result of delete operator.
34b9fda6
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/24 19:58
Create special initializer opcodes for brevity.
ff6f9423
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/24 19:45
Add AA-tree node removal.
ac6cc9f7
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/24 17:30
Automagically update Array length property.
1a7d3ea1
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/24 14:04
Refactor property get/set internals.
90b54a9e
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/24 12:11
Add userdata class.
4595872b
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/24 11:18
Move non-standard 'gc' and 'print' global functions into main.c example.
3cef8607
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/24 11:17
Add a registry for stashing hidden javascript objects from C code.
b22dc395
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/23 21:13
Use ES5 specification for implementation of Error.prototype.toString().
46f72684
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/23 20:27
Leave last evaluated expression on the stack for script code.
d948459f
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/23 20:26
Record whether a function is script or function code.
546ee1e6
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/23 19:40
Fix switch test-chain stack leftovers. Fix iterator on null and undefined.
7a45bb43
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/23 18:04
Free iterator nodes as they are being iterated over.
195816c2
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/23 12:53
Set property attributes on built-in objects and respect DontEnum.
2b209d3f
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/23 12:07
Omit needless setjmp guard over catch block in try/catch statement.
40572172
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/23 11:50
Add 'string' operand versions of get/set/del property opcodes.
6f4c2143
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/22 20:35
Use 'emitraw' function to emit operands in preparation for eventual peephole optimisations.
0fd3f364
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/22 21:35
Add iterator object class for internal use in for-in loops.
a6541604
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/23 04:12
Make instanceof a public function.
82a42ef1
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/22 20:34
Remove debug printf.
c55b4e18
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/22 19:16
Implement instanceof expression.
Next