https://github.com/bobrossrtx/demi-lang
An interpreted programming language developed in TypeScript
https://github.com/bobrossrtx/demi-lang
deno language programming-language typescript
Last synced: 7 months ago
JSON representation
An interpreted programming language developed in TypeScript
- Host: GitHub
- URL: https://github.com/bobrossrtx/demi-lang
- Owner: bobrossrtx
- License: mit
- Created: 2023-07-24T12:34:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-12T14:03:43.000Z (9 months ago)
- Last Synced: 2025-05-12T15:25:31.765Z (9 months ago)
- Topics: deno, language, programming-language, typescript
- Language: TypeScript
- Homepage: https://demi-website.fly.dev/
- Size: 247 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Demi - Programming Language
## Version: 0.0.3-alpha
[](LICENSE)


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.
## How to install
1. Clone the repository
2. Install Deno ([Deno Installation](https://deno.land/manual@v1.35.2/getting_started/installation))
3. Run the compile command:
- Linux/MacOS: `./compile.sh [windows|linux|macos]`
- Windows: `.\compile.ps1 [windows|linux|macos]`
4. Run the executable:
- Linux/MacOS: `./demi`
- Windows: `.\demi.exe`
## How to use
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.
## Examples
### Hello World

> Output: `Hello World!`
### Fibonacci

> Output: `1 1 2 3 5 8 13 21 34`
### Factorial

## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details
## Contributing
If you would like to contribute to this project, please read the [CONTRIBUTING](CONTRIBUTING.md) file for more information.
## Other Tools
[Demi-SyntaxHighlighting](https://marketplace.visualstudio.com/items?itemName=bobrossrtx.demi-syntax)
Demi-SyntaxHighlighting is a Visual Studio Code extension that adds syntax highlighting for Demi files.