Andreas Kling
|
cccbe43056
LibJS: Use FlyString for identifiers
|
5 years ago |
Andreas Kling
|
bceabd7c4b
LibJS: Add ArrayPrototype and implement Array.prototype.push()
|
5 years ago |
Andreas Kling
|
e96ef450f6
LibJS: Add Interpreter::call(Function*, this_value, arguments)
|
5 years ago |
Andreas Kling
|
ddd69e3660
LibJS: Make the AST reference-counted
|
5 years ago |
Andreas Kling
|
bf9912cc59
LibJS: Protect function call "this" and arguments from GC
|
5 years ago |
Andreas Kling
|
19452230cd
LibJS: Add "Heap" and "Runtime" subdirectories
|
5 years ago |
0xtechnobabble
|
7aad10d984
LibJS: Fix assignment of const variable on declaration
|
5 years ago |
Andreas Kling
|
23b1d97b0d
LibJS: Add ObjectPrototype and implement hasOwnProperty()
|
5 years ago |
Andreas Kling
|
f1f14945cf
LibJS: Rename collect_roots() => gather_roots()
|
5 years ago |
Andreas Kling
|
8dc6416bba
LibJS: Use the same StringPrototype globally
|
5 years ago |
Andreas Kling
|
fbefb19e10
LibJS: Interpreter should make sure that the "this" stack gets marked
|
5 years ago |
0xtechnobabble
|
644b4f4201
LibJS: Evaluate for statements in their own scope if necessary
|
5 years ago |
0xtechnobabble
|
83ea7bb9e7
LibJS: Don't allow the redeclaration of a `var` variable using let/const
|
5 years ago |
Andreas Kling
|
9f38f4dbfb
LibJS: Add Object::put_native_function() for convenience
|
5 years ago |
Andreas Kling
|
1448f4384d
LibJS: Move GlobalObject to its own Object subclass
|
5 years ago |
Andreas Kling
|
d1d136b4e5
LibJS: Replace $gc() hack with a NativeFunction on the global object
|
5 years ago |
Andreas Kling
|
32963cf74a
LibJS: Allow implicit Value construction from GC-allocated things
|
5 years ago |
Andreas Kling
|
7912f33ea0
LibJS: Add NativeFunction, a callable wrapper around a C++ lambda
|
5 years ago |
0xtechnobabble
|
ee5a49e2fe
LibJS: Implement const variable declarations
|
5 years ago |
howar6hill
|
01133733dd
LibJS: Allow functions to take arguments (#1405)
|
5 years ago |
Florian Stellbrink
|
17705d23fb
LibJS: Fix string roots not being collected
|
5 years ago |
0xtechnobabble
|
df40c85f80
LibJS: Allow the choice of a scope of declaration for a variable (#1408)
|
5 years ago |
Andreas Kling
|
363c40e3f3
LibJS: Make sure we mark everything reachable from the scope stack
|
5 years ago |
Andreas Kling
|
1382dbc5e1
LibJS: Add basic support for (scoped) variables
|
5 years ago |
Andreas Kling
|
63e4b744ed
LibJS: Add a basic mark&sweep garbage collector :^)
|
5 years ago |
Andreas Kling
|
f5476be702
LibJS: Start building a JavaScript engine for SerenityOS :^)
|
5 years ago |