1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 14:05:08 +00:00
serenity/Libraries/LibJS
0xtechnobabble 4d22a142f7 LibJS: Loosen type system
This commits makes effort towards tolerating some of javascript's quirks
when it comes to its type system, note that the interpreter's way of
handling type coercion is still not mature at all, for example, we still
have to implement NaN instead of just crashing when trying to parse a
string and failing.
2020-03-16 13:42:13 +01:00
..
AST.cpp LibJS: Implement null and undefined literals 2020-03-16 13:42:13 +01:00
AST.h LibJS: Specify overridden functions with 'override' 2020-03-16 13:42:13 +01:00
Cell.cpp LibJS: Loosen type system 2020-03-16 13:42:13 +01:00
Cell.h LibJS: Loosen type system 2020-03-16 13:42:13 +01:00
Forward.h LibJS: Add NativeFunction, a callable wrapper around a C++ lambda 2020-03-12 19:54:47 +01:00
Function.cpp LibJS: Split Function into subclasses NativeFunction and ScriptFunction 2020-03-13 11:08:16 +01:00
Function.h LibJS: Split Function into subclasses NativeFunction and ScriptFunction 2020-03-13 11:08:16 +01:00
GlobalObject.cpp LibJS: Pass "this" as an Object* to NativeFunction callbacks 2020-03-15 20:51:36 +01:00
GlobalObject.h LibJS: Add Object::put_native_function() for convenience 2020-03-13 11:08:16 +01:00
Heap.cpp LibJS: Rename collect_roots() => gather_roots() 2020-03-15 15:13:24 +01:00
Heap.h LibJS: Rename collect_roots() => gather_roots() 2020-03-15 15:13:24 +01:00
HeapBlock.cpp LibJS: Make it possible to go from a Cell* to its Heap& 2020-03-13 11:08:16 +01:00
HeapBlock.h LibJS: Loosen type system 2020-03-16 13:42:13 +01:00
Interpreter.cpp LibJS: Fix assignment of const variable on declaration 2020-03-16 13:42:13 +01:00
Interpreter.h LibJS: Fix assignment of const variable on declaration 2020-03-16 13:42:13 +01:00
Lexer.cpp LibJS: Implement null and undefined literals 2020-03-16 13:42:13 +01:00
Lexer.h LibJS: Lex single quote strings, escaped chars and unterminated strings 2020-03-14 12:13:53 +01:00
Makefile LibJS: Add a mechanism for callback-based object properties 2020-03-15 19:31:00 +01:00
NativeFunction.cpp LibJS: Pass "this" as an Object* to NativeFunction callbacks 2020-03-15 20:51:36 +01:00
NativeFunction.h LibJS: Pass "this" as an Object* to NativeFunction callbacks 2020-03-15 20:51:36 +01:00
NativeProperty.cpp LibJS: Add a mechanism for callback-based object properties 2020-03-15 19:31:00 +01:00
NativeProperty.h LibJS: Add a mechanism for callback-based object properties 2020-03-15 19:31:00 +01:00
Object.cpp LibJS: Loosen type system 2020-03-16 13:42:13 +01:00
Object.h LibJS: Loosen type system 2020-03-16 13:42:13 +01:00
ObjectPrototype.cpp LibJS: Loosen type system 2020-03-16 13:42:13 +01:00
ObjectPrototype.h LibJS: Add ObjectPrototype and implement hasOwnProperty() 2020-03-15 15:25:43 +01:00
Parser.cpp LibJS/Parser: Parse logical expressions 2020-03-16 13:42:13 +01:00
Parser.h LibJS/Parser: Implement the parsing of unary/prefixed update expressions 2020-03-14 20:02:53 +01:00
PrimitiveString.cpp LibJS: Add a new PrimitiveString class to hold GC-allocated strings 2020-03-11 19:00:22 +01:00
PrimitiveString.h LibJS: Add a new PrimitiveString class to hold GC-allocated strings 2020-03-11 19:00:22 +01:00
ScriptFunction.cpp LibJS: Split Function into subclasses NativeFunction and ScriptFunction 2020-03-13 11:08:16 +01:00
ScriptFunction.h LibJS: Split Function into subclasses NativeFunction and ScriptFunction 2020-03-13 11:08:16 +01:00
StringObject.cpp LibJS: Add a mechanism for callback-based object properties 2020-03-15 19:31:00 +01:00
StringObject.h LibJS: Loosen type system 2020-03-16 13:42:13 +01:00
StringPrototype.cpp LibJS: Add String.prototype.repeat() :^) 2020-03-15 21:17:38 +01:00
StringPrototype.h LibJS: Add StringPrototype and make it the prototype of StringObject 2020-03-15 15:02:49 +01:00
Token.cpp LibJS: Implement null and undefined literals 2020-03-16 13:42:13 +01:00
Token.h LibJS: Implement null and undefined literals 2020-03-16 13:42:13 +01:00
Value.cpp LibJS: Loosen type system 2020-03-16 13:42:13 +01:00
Value.h LibJS: Loosen type system 2020-03-16 13:42:13 +01:00