Skip to content

pointcheck/code_snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Collection of code snippets for everyday use

Allows implementing efficient interpretters or VMs. Each command (operation) should be encoded with an integer value which is then used as goto label in main loop instead of giant switch or if-then-else.

Reference: https://gcc.gnu.org/onlinedocs/gcc/Labels-as-Values.html

Update

Code snipped was extended to support one operand per operation, its type depends on the op.

About

Collection of code snippets for everyday use

Resources

License

Stars

3 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors