This will eventually be an LPC compiler and driver, but currently it's WIP and a personal project for me to learn from and hack on.
- pull this repo down locally
- cd to the repo root
mkdir lib- create
lib/hello.c, with content:#define MSG "hello, world!" void create() { dump(MSG); }
cargo run -p lpc-rs-lpcc lib/hello.c
Some compile-time defaults can be changed in lpc-rs/src/compile_time_config.rs.
Runtime configuration is entirely via environment variables, and .env files are also supported.
See default.env for a commented example.