shithub: libmujs

RSS feed

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.

f12fe6c0 – Tor Andersson <tor@ccxvii.net> authored on 2014/01/18 10:38
Constify libutf.

bfab4a4b – Tor Andersson <tor@ccxvii.net> authored on 2014/01/18 10:15
Fix bug in number parsing.

63d88a9c – Tor Andersson <tor@ccxvii.net> authored on 2014/01/18 10:07
Rewrite lexer to use a proper lookahead token.

7bf5257d – Tor Andersson <tor@ccxvii.net> authored on 2014/01/18 10:05
Save line number where the token starts for improved error messages.

442b8d27 – Tor Andersson <tor@ccxvii.net> authored on 2014/01/18 10:04
Rename AST free-list.

cb5af5f1 – Tor Andersson <tor@ccxvii.net> authored on 2014/01/18 08:44
Import UTF-8 and runestring functions from plan9port.

359ba132 – Sebastian Rasmussen <sebras@gmail.com> authored on 2014/01/18 06:43
Remember to remove openames.h when cleaning.

f8ff8652 – Tor Andersson <tor@ccxvii.net> authored on 2014/01/17 20:22
Move object creation functions into jsobject.c

702fb1eb – Tor Andersson <tor@ccxvii.net> authored on 2014/01/17 20:15
Rename functions that push new objects on the stack.

ffc82eab – Tor Andersson <tor@ccxvii.net> authored on 2014/01/17 19:57
Add allocation counter to trigger garbage collector during interpretation.

704d1640 – Tor Andersson <tor@ccxvii.net> authored on 2014/01/17 19:02
Collect garbage.

96ca91ec – Tor Andersson <tor@ccxvii.net> authored on 2014/01/17 17:57
Garbage collector lists.

299dbda1 – Tor Andersson <tor@ccxvii.net> authored on 2014/01/17 17:42
Move stack into state.

81b2bb9c – Tor Andersson <tor@ccxvii.net> authored on 2014/01/17 17:03
Add constructors called with 'new' keyword.

e431170d – Tor Andersson <tor@ccxvii.net> authored on 2014/01/17 16:10
Improve stackidx function to return "undefined" for out-of-bounds accesses.

0d595bd6 – Tor Andersson <tor@ccxvii.net> authored on 2014/01/17 16:09
Define some global functions and values.

060dbbb0 – Tor Andersson <tor@ccxvii.net> authored on 2014/01/17 16:03
Create function objects with initial properties.

f487a7db – Tor Andersson <tor@ccxvii.net> authored on 2014/01/17 14:41
Set prototype internal property when creating objects.

5ce44f9d – Tor Andersson <tor@ccxvii.net> authored on 2014/01/17 11:00
Remember file name and line where a function object came from.

10ffd559 – Tor Andersson <tor@ccxvii.net> authored on 2014/01/17 10:58
Compile global/eval code as script objects rather than regular functions.

f6c5c56b – Tor Andersson <tor@ccxvii.net> authored on 2014/01/17 09:58
Keep the current environment scope chain in the js_State struct.

2a027a1b – Tor Andersson <tor@ccxvii.net> authored on 2014/01/16 22:21
String concatenation.

b595422d – Tor Andersson <tor@ccxvii.net> authored on 2014/01/16 22:03
Add object property accessor functions to public API.

56042de8 – Tor Andersson <tor@ccxvii.net> authored on 2014/01/16 16:36
Fix the shape of the outer API a bit. Implement eval.

e01b4d02 – Tor Andersson <tor@ccxvii.net> authored on 2014/01/16 12:10
Beautify opcode dumping format.

7228ec51 – Tor Andersson <tor@ccxvii.net> authored on 2014/01/16 12:04
Handle "this" by always keeping it in stack[0].

288eef80 – Tor Andersson <tor@ccxvii.net> authored on 2014/01/16 10:54
Clean up. Rearrange files. Rename functions.

3715d6d1 – Tor Andersson <tor@ccxvii.net> authored on 2014/01/16 09:15
Add JS_NORETURN declaration to longjumping functions.

d2741314 – Tor Andersson <tor@ccxvii.net> authored on 2014/01/15 21:36
More cleanups.

0f87d011 – Tor Andersson <tor@ccxvii.net> authored on 2014/01/15 21:13
Add callable CFunctions and a print() function.

18b192b8 – Tor Andersson <tor@ccxvii.net> authored on 2014/01/15 20:59
Minor cleanups.

f7cdddbb – Sebastian Rasmussen <sebras@gmail.com> authored on 2014/01/15 21:04
Remember main.c in tags.

4a3fdcef – Tor Andersson <tor@ccxvii.net> authored on 2014/01/15 19:10
Functions!

ede0f888 – Tor Andersson <tor@ccxvii.net> authored on 2014/01/15 18:41
Prepare for objects with internal properties, and closures as objects.

6ba9e94d – Tor Andersson <tor@ccxvii.net> authored on 2014/01/15 12:03
js_pushlstring() for pushing literal (and interned strings).

a859bc67 – Tor Andersson <tor@ccxvii.net> authored on 2014/01/14 21:21
Don't bother setting undefined slots in array literal elisions.

47e88ac8 – Tor Andersson <tor@ccxvii.net> authored on 2014/01/14 20:34
Calculate stack index for both positive and negative numbers.

6b1906f3 – Tor Andersson <tor@ccxvii.net> authored on 2014/01/14 19:36
Add for-in iterator.

6d690be9 – Tor Andersson <tor@ccxvii.net> authored on 2014/01/14 14:06
Normal for statement.

f77a6e7e – Tor Andersson <tor@ccxvii.net> authored on 2014/01/14 13:17
Implement value stack and use it in the interpreter.

8d5ace5e – Sebastian Rasmussen <sebras@gmail.com> authored on 2014/01/13 21:06
Fix compilation warning.

a4cc139e – Tor Andersson <tor@ccxvii.net> authored on 2014/01/13 16:32
Add js_Object with js_Property binary search tree.

89310461 – Tor Andersson <tor@ccxvii.net> authored on 2014/01/13 12:21
Optimise string interning.

4b981faa – Tor Andersson <tor@ccxvii.net> authored on 2014/01/13 09:56
Clean up handling of function declarations / statements / expressions.

d3d07319 – Tor Andersson <tor@ccxvii.net> authored on 2014/01/13 09:08
Set 'this' object for all types of function calls.

58b26070 – Tor Andersson <tor.andersson@artifex.com> authored on 2014/01/12 12:53
Add while loops.

c6723706 – Tor Andersson <tor.andersson@artifex.com> authored on 2014/01/12 12:16
Separate variable declaration and initialization.

d8576fe0 – Tor Andersson <tor.andersson@artifex.com> authored on 2014/01/12 11:25
Create var bindings for self function and function declarations.

52f78c56 – Tor Andersson <tor.andersson@artifex.com> authored on 2014/01/12 10:31
Compile sub-functions.

dceb4204 – Tor Andersson <tor.andersson@artifex.com> authored on 2014/01/12 09:18
Use emitname() for identifiers, and emitstring() for string literals.

7f3673fe – Tor Andersson <tor.andersson@artifex.com> authored on 2014/01/12 09:11
Document some trickier byte codes.

62fea907 – Tor Andersson <tor.andersson@artifex.com> authored on 2014/01/12 08:34
Compile logical or/and operators with early termination.

67de4965 – Tor Andersson <tor.andersson@artifex.com> authored on 2014/01/12 07:54
Use special TCALL opcode for foo.bar() calls that set 'this' for the call.

1122d1f6 – Tor Andersson <tor.andersson@artifex.com> authored on 2014/01/12 07:52
Improve opcode naming.

50d5cb95 – Tor Andersson <tor.andersson@artifex.com> authored on 2014/01/12 07:50
Auto-generate list of operator names.

fb305045 – Tor Andersson <tor.andersson@artifex.com> authored on 2014/01/12 07:14
Improve naming of macros in lexer.

Next