Project

rgo-lang

0.0
No commit activity in last 3 years
No release in over 3 years
syntax by Ruby, performance by Go
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.4.16
 Project Readme

Rgo

Ruby like programming language, syntax by Ruby, Performance by Go

Installation

$ gem install rgo-lang

Usage

# hello_world.rgo
module Main
  include Fmt
  include Net::Http

  # type (ResponseWriter, *Request) -> nil
  def hello(w, req)
    fprintf(w, "hello")
  end

  def main
    handle_func("/hello", hello)
    listen_and_serve(":8090", nil)
  end
end
$ rgo run hello_world.rgo

checkout Samples

TODO

  • function call without parentheses

License

The gem is available as open source under the terms of the MIT License.