Skip to content

ofzeng/GoScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Scripting Language

Usage

  • Add g to the $PATH
  • g hello.gs

GoScript features a simple REPL as well, just call g with no arguments!

About

  • This language features hybrid syntax between go and python and compiles straight into go code. This project is mostly intended for small (single-file) scripting projects.
  • Write your code anywhere, GoScript will automatically place your compiled code into your go workspace
  • GoScript is easy to use: Hello world is just print "Hello", "World!"

Language Features

  • Auto import fmt
  • Automatically place script body into main()
  • Colon and indentation to denote nesting:
if 1 == 2:
    print "Hi"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published