Andreas Kling
|
eabdbe0ee9
LibJS: Log when we throw a JavaScript Error
|
5 years ago |
Linus Groh
|
2944039d6b
LibJS: Add Function() and Function.prototype
|
5 years ago |
Andreas Kling
|
5e6e1fd482
LibJS: Start implementing object shapes
|
5 years ago |
Andreas Kling
|
c683665ca9
LibJS: Fix bad cast in Interpreter::run()
|
5 years ago |
Andreas Kling
|
d062d7baa7
LibWeb+LibJS: Move DOM Window object to dedicated classes
|
5 years ago |
Linus Groh
|
d4e3688f4f
LibJS: Start implementing Date :^)
|
5 years ago |
Andreas Kling
|
7c4e53f31e
LibJS: Rework how native functions are called to improve |this| value
|
5 years ago |
Andreas Kling
|
14047ca432
LibJS: Add a global "Object" constructor
|
5 years ago |
Andreas Kling
|
fecbef4ffe
LibJS: Make it possible to reference the "this" value in JavaScript
|
5 years ago |
Andreas Kling
|
c60dc84a33
LibJS: Allow function calls with missing arguments
|
5 years ago |
Andreas Kling
|
9494865f99
LibJS: Actually pop frames off of the scope stack when exiting a scope
|
5 years ago |
Andreas Kling
|
faddf3a1db
LibJS: Implement "throw"
|
5 years ago |
Andreas Kling
|
343e224aa8
LibJS: Implement basic exception throwing
|
5 years ago |
Andreas Kling
|
494df52961
LibJS: Actually leave the current function scope on "return"
|
5 years ago |
Andreas Kling
|
fbb9e1b715
LibJS: Implement "else" parsing
|
5 years ago |
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 |