+
Skip to content
/ smol Public
forked from drew-y/smol

A toy programming language for learning how to make programming languages

Notifications You must be signed in to change notification settings

timonback/smol

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 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

Languages

  • TypeScript 99.6%
  • JavaScript 0.4%
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载