https://github.com/uocdev/jscpp
Low-level, OOP, Compiler build itself. Easy to use for beginners and powerful
https://github.com/uocdev/jscpp
compiler cpp language programming
Last synced: 3 months ago
JSON representation
Low-level, OOP, Compiler build itself. Easy to use for beginners and powerful
- Host: GitHub
- URL: https://github.com/uocdev/jscpp
- Owner: UocDev
- License: mit
- Created: 2025-08-19T22:36:36.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2025-08-20T23:19:34.000Z (5 months ago)
- Last Synced: 2025-08-21T00:25:58.584Z (5 months ago)
- Topics: compiler, cpp, language, programming
- Language: C++
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
JSCPP (JavaScript C++)
**JSCPP** stands for **JavaScript C++**, a low-level, easy-to-use, OOP programming language with a syntax similar to C++ and the flexibility of JavaScript.
JSCPP is designed for developers who want **low-level control with simple syntax**, perfect for educational projects, prototyping, or creating small interpreters and games.
The language is interpreted by **UJSCC (Uoc JavaScript C Compiler)**, a compiler/interpreter written in C++.
## Features
- Print()
- var and const
### installation / requirement
- GCC / G++
- Cmake (new version)
clone this repository
j
```bash
mkdir build && cd build
```
init the compiler
```bash
cmake ..
```
build compiler
```bash
make
```
run file
```bash
./ujsc main.jscpp
```
## example
1. Print
```bash
#include
example main() {
print("Hello world");
}
```
2. Variable
```bash
#include
#include
v variable() {
var j: 10;
const hi: "Hallo";
example main() {
print("v variabel.var");
}
```
## Library
PSL (Print Syntax Library)
add ability to print something in JSCPP.
VSL (Variabel Syntax Library)
add ability to make variabel in JSCPP.
that's all for now, this still beta, so some features still under development.