Skip to content

a custom C like script toy language compiler implemented by pure Python!

Notifications You must be signed in to change notification settings

boywhp/pyc_compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pyc_compiler

a custom C like script toy language compiler implemented by pure Python!

example

    create_list(num){
        l = list();
        for(i=0; i<num;i++){
            if (len(l) > 10) break;
            l.append(i);
            }
        return l;
    }
    a = b = 4;
    c = create_list(1+a*5);
    if (a == 0) a+= 1;    
    b += -1;
    printf("%d %d %d\n", a, b, len(c));

screenshot

image

About

a custom C like script toy language compiler implemented by pure Python!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages