Skip to content
/ smol Public

A toy programming language for learning how to make programming languages

Notifications You must be signed in to change notification settings

drew-y/smol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smol

A toy language for learning how to make programming languages.

let x = 1;
let y = 7;

let do_math = |x, y| {
    let add = |a, b| { a + b };

    print("x + y:");
    print(add(x, y));

    if y > 3 {
        print("y is greater than 3");
    }
};

do_math(x, y);

About

A toy programming language for learning how to make programming languages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published