Skip to content

linD026/Simulate-JIT-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Simulate JIT C

How to build?

make

How to use?

Execute the program.

./jit-c

Write an code block with end of "//0".

> int ret_int(void)
> {
>     return 0;
> }
> //0

When you write the main function, it will auto execute the program.

> #include <stdio.h>
>
> int main(void) {
>     printf("get: %d\n", ret_int());
>     return 0;
> }
> //0
----------
get: 0
----------

After finishing your program, enter "quit" to exit.

Debugging

Add "debug=1" to the make command then it will print out all the system command during executing the program.

make debug=1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published