Skip to content

AdityaByte/cowlang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

cowlang

cowlang is a small interpreted, block-based toy language built for learning how interpreters and parsers work.

# Root block - Entry point -> comment
cow_root_start

    cowchew mood = "happy"
    cowchew cows = 3

    cowthink cows > 1
        cowsay("party time")
    cowelse
        cowsay("need more cows")
    cow_endthink

    cowstart
        cowchew secret = "moo"
        cowsay(secret)
    cow_end

cow_root_end

About

A Toy Interpreted Language built in python.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published