GithubHelp home page GithubHelp logo

emir4169 / gumwithrandom Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cubix-dev/gum

0.0 0.0 0.0 483 KB

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

TypeScript 100.00%

gumwithrandom's Introduction

Gum

A simple but flexible programming language for SN-Edit users that want more. Currently on Node but we'll migrate to Bun once that hits v1

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
    }
}

gumwithrandom's People

Contributors

bluefalconhd avatar emir4169 avatar lgm-productions avatar shipmasterkyle avatar sithlor avatar telekiwi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.