Skip to content
/ Gum Public

a simple but flexible programming language for SN-Edit users that want more

Notifications You must be signed in to change notification settings

Cubix-Dev/Gum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gum

A simple but flexible programming language for SN-Edit users that want more. Now with Rust!

Example code

-- Import statements
chew Sprite from pack “spritefolder” 
add Serve from *

-- @ defines built-in events
@green_flag {
    for (local count in 1..100) { -- You can also use the range() function, a la Python
        local output = ""
	
        if (count % 3 == 0) { 
          output += "Fizz"
        } else if (count % 5 == 0) {
           output += "Buzz" 
        } else { 
           output = count.toString() 
        }
	
	local db = create Serve().find()
        Sprite.say(output)    
        db.save(output) -- Saves the output to a database
    }
}

About

a simple but flexible programming language for SN-Edit users that want more

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages