Skip to content

A simple parsed programming language im developing for fun.

License

Notifications You must be signed in to change notification settings

DangerCow/EggCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EggCode

simple programming language made for fun

forthebadge forthebadge forthebadge

EggCode's syntax

Main syntax

func [function name] - creates new function called [function name] void [functtion name]([pram1], [pram 2]...) - creates new function called [function] void with the prams in () [function name].end - ends [function name] [function name].start - runs/starts [function name] [void function name].start([pram1], [pram2]...) - runs/starts [void function] with the prams in ()

if([flag]) & endif - if the flag is true run the code inbetween if and endif

print([input]) - outputs [input]

[a] = [b] - creates new varible named [a] with the value [b] (private)[a] = [b] - creates new private varible named [a] with the value [b]

Input syntax

print([varible name]) - gets [varible name]'s value print("[string]") - returns [string]

math([a] +,-,*,/ [b]) - returns [a] plus/minus/times/divided by [b]

For more details about EggCode's syntax look in EggCode/samplecode.egg

About

A simple parsed programming language im developing for fun.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages