A simple interpreted scripting language created as part of CSOC INFOSEC.
Carbon is a basic scripting language featuring a custom lexer and transpiler. It reads .crb script files, parses them line by line, and executes them via an interpreter written in C.
- Custom syntax, lexer, and transpiler
- Strict
.crbextension check for scripts - Simple file handling and output
- Example script included
.
├── carbon_run
├── .gitignore
├── Instructions.txt
├── main.c
├── Makefile
├── README.md
├── script.crb
└── src/dependencies
├── lexer.c
├── lexer.h
├── transpiler.c
└── transpiler.h
To run CarbonLang use-->
./carbon_run <filename.crb>Outpur in Terminal
❯ ./carbon_run file.crb
Hello, Carbon
No, new line See I told you.
Text
Hi, this works Carbon is awesome
CoCo is a good girlCleaning Up
To remove the compiled executable:
make clean