Demi is an interpreted programming language currently written in TypeScript. It is a dynamically typed language with a syntax similar to JavaScript. It is a work in progress and is not yet ready for use. I have plans to port it to C++ in the future set it up as an llvm compiled language.
- Clone the repository
- Install Deno (Deno Installation)
- Run the compile command:
- Linux/MacOS:
./compile.sh [windows|linux|macos]
- Windows:
.\compile.ps1 [windows|linux|macos]
- Linux/MacOS:
- Run the executable:
- Linux/MacOS:
./demi
- Windows:
.\demi.exe
- Linux/MacOS:
Demi is an interpreted language, so it can be run in a REPL or by passing a file to the executable. The REPL can be started by running the executable without any arguments. To run a file, pass the path to the file as an argument to the executable.
Output:
Hello World!
Output:
1 1 2 3 5 8 13 21 34
This project is licensed under the MIT License - see the LICENSE file for details
If you would like to contribute to this project, please read the CONTRIBUTING file for more information.
Demi-SyntaxHighlighting Demi-SyntaxHighlighting is a Visual Studio Code extension that adds syntax highlighting for Demi files.