ris-vsc
v1.0.0
Published
Reverse Instruction System C++ Environment Setup and Development Tools
Downloads
3
Maintainers
Readme
RIS-CPP
A comprehensive development environment for the Reverse Instruction System (RIS) in C++.
Features
- 🚀 Complete project scaffolding
- 🔍 VS Code integration with syntax highlighting
- 📝 Language server with autocompletion
- 🐛 Integrated debugging support
- 📊 Test framework integration
- 👀 File watching and live reload
- 🛠️ CMake-based build system
Installation
npm install -g ris-cppQuick Start
- Create a new project:
ris-cpp --init- Start coding in the
srcdirectory - Compile your project:
ris-cpp --compile src/main.cpp- Run with file watching:
ris-cpp --watchProject Structure
./
├── src/ # Source files
│ ├── main.cpp # Main interpreter
│ └── example.ris # Example RIS file
├── .vscode/ # VS Code configuration
│ ├── settings.json # Editor settings
│ └── launch.json # Debug configuration
├── server/ # Language server
│ └── server.js # Server implementation
├── tests/ # Test directory
│ └── interpreter.test.js
└── CMakeLists.txt # Build configurationRIS Language Support
The package provides full language support for RIS files including:
- Syntax highlighting
- Code completion
- Error detection
- Symbol navigation
Supported Commands
VAR: Variable declarationPRN: Print statementHLT: Halt executionINT: Hardware interruptOUT: Port outputIN: Port inputPROC: Process creation
VS Code Integration
Features
- Custom syntax highlighting for .ris files
- Debugging configuration
- IntelliSense support
- Format on save
- Custom snippets
Debugging
- Set breakpoints in your code
- Press F5 to start debugging
- Use the debug toolbar to step through code
Build System
The project uses CMake for building. To build your project:
# In the project root
mkdir build && cd build
cmake ..
makeTesting
Run the test suite:
npm testContributing
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
