Read in other languages: Tiếng Việt, 中文.
Get the latest source code and distribution releases from the official GitHub repository:
- Repository Link: https://github.com/luongvantam/RAC-Compiler
- Method: Click the Code button -> Download ZIP and extract it, or execute via Git terminal clone:
git clone https://github.com/luongvantam/RAC-Compiler.gitTo secure code visual enhancement when coding on Visual Studio Code:
- Open VS Code and open the Extension tab using
Ctrl + Shift + X(orCmd + Shift + Xon macOS). - Click the
...(Views and More Actions) button at the top right of the Extensions view. - Select Install from VSIX...
- Browse and select the
rsc.vsixfile included in this repository to install it.
Depending on your host operating system platform, launch the dedicated automated script file located inside the compiler directory:
- On Windows Platforms: Double-click on
run.bat(or execute via PowerShell/CMD environment). - On Linux / macOS Environments: Launch terminal in the root directory path and execute
run.sh:
chmod +x run.sh
./run.sh- Compilation Process:
- On first run, it will prompt you to enter the target calculator model (e.g.,
580vnx,880btg). - At the main prompt, enter the exact source file name or full path to compile and press
Enter. - You can use the following interactive commands:
!q: Quit the compiler.!m: Change the target model.!u: Check for updates.
- On first run, it will prompt you to enter the target calculator model (e.g.,
The project now includes 2 Integrated Development Environments (IDEs):
-
TUI IDE (Terminal UI):
- Run
IDE.baton Windows or./IDE.shon Linux/macOS. - Features syntax highlighting directly in your terminal.
- Requires the
textualPython module (installed automatically via scripts).
- Run
-
Web IDE (Browser UI):
- Run
web.baton Windows or./web.shon Linux/macOS. - Open your browser and navigate to the address shown in the terminal (usually
http://localhost:8000).
- Run
Document Maintainer: luongvantam