
Visual Studio Code extension providing language support for HolyPy, a custom programming language designed for the Compilers course (ECOM06) at UNIFEI.
Features
- Syntax Highlighting: Comprehensive colorization for HolyPy keywords, types, operators, and literals.
- Language Configuration: Smart brackets, auto-closing pairs, and comment toggling.
- File Support: Automatically recognizes
.hpyfiles.
Language Overview
HolyPy is a statically typed language with a focus on simplicity and low-level control.
Keywords
- Control Flow:
if,else,cycle,free,return - I/O & Declaration:
let,fn,speak,receive,import - Memory & Low-level:
chain,unchain,asm
Types
- Integers:
i8,i16,i32,i64(signed) andu8,u16,u32,u64(unsigned) - Floats:
f32,f64 - Others:
char,bool,u0(void)
Operators
- Arithmetic:
+,-,*,/,mod - Comparison:
==,!=,>,<,>=,<= - Logical:
and,or,not
Example Code
# This is a comment
fn main() -> u0 {
let message = "Hello, HolyPy!";
speak(message);
if (true) {
cycle {
# Loop logic
break;
}
}
}
Requirements
No additional dependencies are required. Just install the extension and start coding in HolyPy!
Installation
- Open Visual Studio Code
- Go to Extensions (Ctrl+Shift+X)
- Search for holypy-support
- Click Install
Known Issues
None at the moment. If you find any bugs, please report them on the project repository.
Release Notes
0.0.1
- Initial release of HolyPy support.
- Basic syntax highlighting and language configuration.
Developed as part of the ECOM06 - Compilers course at UNIFEI.