Skip to content

sanjaykdragon/simple_interpreter

Repository files navigation

simple_interpreter

description

a simple interpreter, basically a custom language

info / credits

written in C++, using C++17 STL

credits to code vm article for the inspiration, I was looking into coding something like vmprotect and found this.

notes

jump / jump_if / copy:

all of these are a bit odd, the arguments they are assigned are actually + 1 of the argument (see void c_interpreter::execute_program()::21) because of the for loop.

add / sub / end_program / nop / test_eq:

none of these check their arguments

const_int:

currently only an int

print:

print relative stack location's arg

About

custom "language" interpreter, coded in c++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published