goscript

module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2025 License: GPL-3.0

README

GoScript

GoScript is a dynamically typed, interpreted language created out of curiosity of "How do you build a programming language?"

Requirements:

  • Go 1.24

Install

go install github.com/hyperioxx/goscript/cmd/goscript@latest 

Examples

Example syntax:

// variable declaration
myInt = 1
myString = "foo"
myFloat = 1.0
myArray = [1,2,3,4,"bar"]



// conditionals
if myInt > 1 {
    print(x) // builtin function 
}

Please see the examples folder for more

Directories

Path Synopsis
cmd
goscript command
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL