summaryrefslogtreecommitdiffhomepage
path: root/object.h
AgeCommit message (Collapse)Author
2021-03-08object: remove unused struct memberJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-03-08object: introduce uc_prototype_lookup()Jo-Philipp Wich
The new uc_prototype_lookup() function allows looking up properties in the given prototype chain. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-03-08object: introduce uc_protoref_new()Jo-Philipp Wich
The new uc_protoref_new() function allows creating array or object values with prototype references. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-02-17treewide: rewrite ucode interpreterJo-Philipp Wich
Replace the former AST walking interpreter implementation with a single pass bytecode compiler and a corresponding virtual machine. The rewrite lays the groundwork for a couple of improvements with will be subsequently implemented: - Ability to precompile ucode sources into binary byte code - Strippable debug information - Reduced runtime memory usage Signed-off-by: Jo-Philipp Wich <jo@mein.io>