The Force is a gateway to abilities many believe are unnatural...
The Force is a Star Wars inspired programming language. All keywords are made up of quotes from the movies and it is fully armed and operational!
Do it!
The Sacred Jedi Texts! "Hello there\n"
May The Force be with you.
To learn about using The Force, please look at the introduction. We also have some examples of full programs you can use as reference.
If you have cargo:
cargo install theforce
Or download directly from our releases.
Run a .force
file:
theforce /path/to/file
Install Rust. We also provide a Dev Container if you would prefer to run it that way.
To run the examples:
cargo run examples/hello-there.force
To run with LLVM support (currently a WIP):
cargo run examples/hello-there.force --features llvm
Thank you to all the projects that helped make this possible!
- Rust for being an awesome language to build with
- Pest used for defining and parsing the grammar
- Create Your Own Programming Language with Rust provided an excellent introduction into the Rust tools needed to build this
- ArnoldC for providing inspiration for the design
Please read CONTRIBUTING.md for how to contribute to the project.
This project is dual-licensed under the MIT or Yoda License - see the LICENSE.md and YODA-LICENSE.md files for details.
The Force is in no way affiliated with or endorsed by Lucasfilm Limited or any of its subsidiaries, employees, or associates. All Star Wars quotes and references in this project are copyrighted to Lucasfilm Limited. This project intends to use these strictly within the terms of fair use under United States copyright laws.
Disney please don't sue us.