8000 GitHub - FritzFlorian/go2lang
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

FritzFlorian/go2lang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go2lang

Master: Build Status Dev: Build Status

go2lang is a modern JVM based language that handles projects with scope.

Syntax Examples

The language in in an very early stage. Right now it only supports the most fundamental syntax. This includes the following statements:

  • scope ... end
  • if ... end
  • label labelName
  • label start
  • go to labelName
  • run to labelName
  • int varName = number
  • varName = expression

Here is a quick code sample:

label start
int x = 1
int max = 99

label loop

scope
    int bottles = 0
    bottles = x
end

if x < max
    x = x + 1
    go to loop
end

Right now no dynamic memory allocation is possible.

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0