Go is an amazing, awesome programming language. But it has in many ways too much, and in other ways, too little. This is an attempt to balance it.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
champii 228c5a04bf Use custom antlr4 build for visitor pattern 1 year ago
..
_media Update doc 1 year ago
vendor Update doc 1 year ago
.nojekyll Documentation website 1 year ago
README.md Use custom antlr4 build for visitor pattern 1 year ago
_coverpage.md Version tag v0.7.2 1 year ago
_sidebar.md Documentation website 1 year ago
build.md Better file structure, OOP everywhere 1 year ago
changelog.md Version tag v0.7.2 1 year ago
features.md Update doc 1 year ago
index.html Version tag v0.7.2 1 year ago
next.md Documentation website 1 year ago
quick_start.md Better file structure, OOP everywhere 1 year ago
todo.md Cross package template usage 1 year ago
usage.md Version tag v0.7.2 1 year ago

README.md

Introduction


‘Og’ is to be pronounced Oh-Jee and stands for Orgasmic Granny Optimistic Golang
It is an indentation based language mainly inspired from Livescript that compiles to GoLang.

!main

class Oglang<T>
  Foo T
  GetFoo: T -> @Foo

main ->
  foo := Oglang<int>
    Foo: 42

  foo.GetFoo()

Go to the Features section for more exemples of code.

Bootstraped Language


Oglang is written in itself. It is said to be a ‘Bootstraped’ language. In fact, Oglang needs the previous release of itself to build itself.
See the Build section for more details

Go to the ./lib folder on github for both Oglang and compiled Golang sources.

Built with Antlr4 from their Golang grammar.

Goal


The main goal is to simplify the syntax, to borrow some concepts from Livescript and other functional languages, to implement Generics and macro processing, as well as some syntaxic sugar to avoid all the boilerplate code Golang forces us into.