SkillAgentSearch skills...

CInterpreter

Small C interpreter written in Python from scratch. Project was written as a part of course Compiler Construction at The Faculty Of Computer Science.

Install / Use

/learn @SKantar/CInterpreter
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

CInterpreter

CInterpreter is a very small C interpreter written in Python from scratch. Project was written as a part of course Compiler Construction at The Faculty Of Computer Science.

Interpreter was designed and written by me, without using additional libraries. You can easily rewrite this to any other language. With this interpreter you can execute codes like following:

Setup

Prerequsite:<br/> - Install python3.5 or later, preferably use a virtualenv.<br/>

Running interpreter

To execute c program, run python3 __main__.py -f <file>.

For example, to run the example1:

cd CInterpreter
python3 __main__.py -f example1.c
View on GitHub
GitHub Stars53
CategoryDevelopment
Updated1mo ago
Forks8

Languages

Python

Security Score

95/100

Audited on Feb 8, 2026

No findings