Skip to content

xxx/lpc-rs

Repository files navigation

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.

Quick start if you want to tinker

  1. pull this repo down locally
  2. cd to the repo root
  3. mkdir lib
  4. create lib/hello.c, with content:
    #define MSG "hello, world!"
    
    void create() {
        dump(MSG);
    }
  5. 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.

About

An LPC compiler and gamedriver

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages