romualdo

module
v0.0.0-...-485ca13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2023 License: MIT

README

The Romualdo Language

A programming language for Interactive Storytelling.

Status

Very not suitable for anything. Ongoing design and development. This repo is a language redesign of a previous, unfinished incarnation of Romualdo.

Credits

  • The Romualdo Language syntax is in no small extent inspired by Lua.
  • Ink was a considerable influence, too. Romualdo's goals are quite different (it is meant to more like a traditional programming language), but learning about Ink and using it a little bit lead to a large Romualdo redesign.
  • The implementation is strongly based on Bob Nystrom's excellent Crafting Interpreters. I cannot understate how this book was useful.

Directories

Path Synopsis
cmd
pkg
ast
The ast package contains definitions related with Romualdo's Abstract Syntax Tree (AST).
The ast package contains definitions related with Romualdo's Abstract Syntax Tree (AST).
backend
The backend package contains everything to transform a basic Abstract Syntax Tree (AST) into optimized (ahem, not yet) executable code (ahem, bytecode).
The backend package contains everything to transform a basic Abstract Syntax Tree (AST) into optimized (ahem, not yet) executable code (ahem, bytecode).
bytecode
The bytecode package contains definitions that are used in the communication between the compiler and the virtual machine.
The bytecode package contains definitions that are used in the communication between the compiler and the virtual machine.
errs
The errs package contains stuff related with errors.
The errs package contains stuff related with errors.
frontend
The frontend package contains everything needed to transform Romualdo source code into an Abstract Syntax Tree (AST).
The frontend package contains everything needed to transform Romualdo source code into an Abstract Syntax Tree (AST).
romutil
The romutil ("Romualdo utils") package contains assorted utilities used in various other Romualdo packages.
The romutil ("Romualdo utils") package contains assorted utilities used in various other Romualdo packages.
test
The test package contains stuff used for testing Romualdo.
The test package contains stuff used for testing Romualdo.
vm
The vm package implements the Romualdo Virtual Machine, which executes the bytecode generated by the Romualdo Language Compiler.
The vm package implements the Romualdo Virtual Machine, which executes the bytecode generated by the Romualdo Language Compiler.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL