Skip to content
/ gor Public

A dynamically-typed R-ish language written in Go

License

Notifications You must be signed in to change notification settings

voidwyrm-2/gor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gor

Gor(from "Go R") is a dynamically-typed, R-inspired language

Here's a "hello world" example:

? comments are done with '?'

? assign our message to the variable 'hello'
hello <- "Hello, Catdog!"

? print 'hello' to the screen
puts(hello)

Installation

Requirements

  • Go >= 1.22.1

First, install Go if you haven't already from go.dev or using homebrew(brew install go)

Then, run this command:

go install "github.com/voidwyrm-2/gor@latest"

Changelog for 0.5(aka, the "WOW I CAN WRITE GO BETTER THAN A MONKEY, ISN'T THAT INCREDIBLE?" update)

  • Expressions are actually usable(no paranthese though(it scarwy))
  • Removed a bunch of bloat from the main.go file
  • Streamlined the parser a bit
  • IF STATEMENTS WOOOOOOOOOOOO

Gor Todo

  • Variable assignment
  • Expressions
  • Labels and jumpto
  • Make my expression parsing not suck
  • If statements
  • Built-in function calls
  • Custom functions and calls
  • Structs but written badly containers

Hey if you know of any optimazations I can do in the code base, make an issue(please I beg of you my code is so non-preformant)

About

A dynamically-typed R-ish language written in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published