RSS feed
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.
4c326a51
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/22 18:31
Compile switch statements.
60253ced
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/22 18:15
Add stack and scope balancing to exits from try/catch blocks.
bcc66316
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/22 16:15
Support empty expressions in for statements.
cf9867c8
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/22 13:04
Implement try/catch/finally exception handling.
833d2a6f
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/22 13:01
Fix parser bug.
f1e1171e
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/22 11:24
Clean up stack and with/endwith balancing on abrupt exits.
424f7161
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/22 10:17
Remove incorrect eval result hack.
fdd94dc5
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/22 09:23
Break and continue to labelled statements.
14043f0e
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/21 22:52
Implement unlabeled break and continue.
a6a5bd79
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/21 22:14
Add prefixes and remove duplicate functions.
6d2a4c7a
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/21 16:25
Make jsY_error return void (as it is a noreturn function).
8f58f61f
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/21 16:13
Remove jsconf.h as it is not really useful.
7389d25b
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/21 11:36
Fix typos.
8b6493ee
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/21 10:49
Implement with statement.
5cdcc209
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/21 10:15
Simplistic REPL.
ca79fc14
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/21 09:14
jsmath.c expanded
3a92e13e
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/21 08:58
Rename files and move a few functions around.
6c8400d8
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/20 18:14
Fix CFunction calling conventions.
26cde860
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/20 17:46
Fix constructors to return the created object if the function doesn't.
7c82ec25
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/20 13:27
Clean up error object creation and throwing functions.
b262cc36
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/20 12:44
Rename many jsR functions to jsV.
759acbd4
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/20 11:18
Add enum-to-string functions for syntax tree and opcodes.
40a12fba
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/20 11:13
Split header into js.h public and jsi.h private. Start cleaning up
8aa06275
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/19 19:13
Add Error builtin objects and exception stack.
3c58fa90
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/19 11:20
Fix bug in toFixed, toPrecision and toExponential.
fea397f5
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/19 11:18
Implement Math object.
0467057b
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/19 10:45
Use ECMA-262 r5 semantics for missing this argument to call/apply.
58421f16
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/19 10:24
Optimize String.prototype.charAt and charCodeAt.
f3ea55fc
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/19 10:06
Implement String.prototype.charAt and charCodeAt.
32c0c6c4
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/19 09:55
Rename jsR_numbertostring to jsR_stringfromnumber.
ce0a690a
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/19 09:25
Create readonly length property on string objects.
3da05690
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/19 09:24
Implement Function.prototype.toString()
48e3fdb7
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/19 08:33
Alloc interned strings at the end of the string nodes.
95ac24c7
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/19 08:29
Put js_Object contents in a union.
0feb6301
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/19 08:28
Implement Function.prototype.apply()
1237388b
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/18 20:50
More builtins. Fix prototype chains for builtin classes and prototypes.
a592f61f
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/18 17:04
Implement Number and Object classes.
07610bd0
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/18 15:16
Refactor ToString and ToNumber functions. Add ToPrimitive.
05275e2e
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/18 13:20
Implement relational and equality operators.
d3d92291
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/18 12:44
Reorder switch cases to match opcode order.
24f48308
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/18 12:38
Support 'typeof' operator.
9650392e
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/18 12:19
Return value of last evaluated expression in eval and script code.
8e20fae7
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/18 11:49
Don't pass pointless 'sp' pointer throughout lexer now that we use
a3aa9e7d
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/18 11:27
Simplify newline tests since we normalize line endings in next().
8c7f4dc5
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/18 11:13
Handle \uXXXX escapes in identifiers.
dbc00e4e
– Tor Andersson <tor@ccxvii.net>
authored
on 2014/01/18 10:52
Parse UTF-8 source text.
Next