mirror of
https://github.com/tcsenpai/scripting-language-factory.git
synced 2025-06-07 03:35:28 +00:00
better readme
This commit is contained in:
parent
4c3110f8a4
commit
04b24b0090
@ -10,6 +10,7 @@ This project allows you to define your own programming language syntax by mappin
|
|||||||
- Direct execution of your language scripts
|
- Direct execution of your language scripts
|
||||||
- Interactive REPL for development
|
- Interactive REPL for development
|
||||||
- Compilation to Python bytecode
|
- Compilation to Python bytecode
|
||||||
|
- VS Code extension for syntax highlighting
|
||||||
- Extensive customization options
|
- Extensive customization options
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
@ -22,8 +23,16 @@ This project allows you to define your own programming language syntax by mappin
|
|||||||
|
|
||||||
2. No additional dependencies required beyond Python 3.6+
|
2. No additional dependencies required beyond Python 3.6+
|
||||||
|
|
||||||
|
## Included Example
|
||||||
|
|
||||||
|
The repository includes an example of a custom language called "rizzlang", complete with a VS Code extension.
|
||||||
|
|
||||||
|
You can find the example in the `rizzlang` directory and the VS Code extension in the `rizzlang_ext` directory.
|
||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
|
|
||||||
|
NOTE: You can skip 1 and 2 if you want to use the included example. Just replace the mapping file and script with the ones in the `rizzlang` directory.
|
||||||
|
|
||||||
1. Create a default mapping file:
|
1. Create a default mapping file:
|
||||||
```
|
```
|
||||||
python transpiler.py create-mapping my_mapping.json
|
python transpiler.py create-mapping my_mapping.json
|
||||||
|
Loading…
x
Reference in New Issue
Block a user