This project implements a basic compiler for the Stride programming language, along with a web-based code editor featuring syntax highlighting.
cstride/
└── packages/
├── compiler/
│ └── ... (compiler source files)
├── standard-library/
│ └── ... (standard library files)
└── editor/
└── ... (web-based editorfiles)
- Navigate to the compiler directory:
cd packages/compiler - Build using CMake:
cmake -S . -B cmake-build-debug cmake --build cmake-build-debug --target cstride
From the packages/compiler directory, you can either run it directly:
./cmake-build-debug/cstride <file1> <file2> ...Or move the executable to a directory in your PATH and run:
cstride <file1> <file2> ...Replace <file> with your Stride source file.
The editor is a web-based IDE for Stride, built with Monaco Editor.
- Navigate to the editor directory and install dependencies:
cd packages/editor npm install - Start the development server:
npm start
- Open the provided local URL in your browser.
Stride's standard library is located in packages/standard-library/ and includes math, memory, and I/O modules.
Contributions are welcome! Please open issues or submit pull requests for improvements or bug fixes.