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)
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
- 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 badlycontainers