https://github.com/hansputera/test-program-lang
Learn how to parse a script, and run it as a program
https://github.com/hansputera/test-program-lang
evaluation language parser
Last synced: about 1 year ago
JSON representation
Learn how to parse a script, and run it as a program
- Host: GitHub
- URL: https://github.com/hansputera/test-program-lang
- Owner: hansputera
- License: mit
- Created: 2022-11-28T15:51:59.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-28T17:46:05.000Z (over 3 years ago)
- Last Synced: 2025-02-10T05:43:14.918Z (over 1 year ago)
- Topics: evaluation, language, parser
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## TestLang
Learn how to create own language syntax
**Print:**
```
echo("Hello World!"); // Hello World!
echo(1 + 2); // 3
```
**Variables:**
```
nama: "Jono Sutejo";
echo(nama); // Jono Sutejo
```
## Run
0. clone this repo
1. run `go build`
2. run `./testlang `
3. done