Tardis / lang /
..
app lang: Split in to library and executable 1 year ago
CMakeLists.txt lang: Make app build optional 1 year ago
README.md lang: Add simple README 9 months ago
bytecode.c lang: Move bytecode to func.c 9 months ago
bytecode.h lang: Move bytecode to func.c 9 months ago
compile.py lang: Explain compile.py structure 9 months ago
error.c lang: Add error handling functions 1 year ago
error.h lang: Run clang-format 1 year ago
func.c lang: Remove useless stack check 9 months ago
func.h lang: Add opaque types for Object and VmState 10 months ago
main.c lang: Add a 'none' object to replace NULL uses 10 months ago
number.c lang: Include types.h in object.h 10 months ago
number.h lang: Add opaque types for Object and VmState 10 months ago
object.c lang: Clarify dispatch_call abort_msg 10 months ago
object.h lang: Add more code documentation 9 months ago
types.h lang: Add more code documentation 9 months ago
vm.c lang: Abort if vm_stack_drop is too small 9 months ago
vm.h lang: Add more code documentation 9 months ago
README.md

Language prototype project

This is the prototype language for the Tardis prototype project.

This is mainly to get an environment up and running. This means no fancy features, no tests, no optimizations, etc.

Design notes:

  • Bytecode VM is stack-based with indexing
  • Garbage collection is done using reference counting
  • Stack is shifted on function call
  • Empty function arguments are re-used for return values
  • Callee cleans up unused stack space when returning

License

All documentation and software for this project is under the MIT license unless otherwise specified.

Copyright: 2023 Casey Reeves casey.reeves@lumina-sensum.com

Copyright: 2023 John Watts john.watts@lumina-sensum.com

SPDX-License-Identifier: MIT