Skip to content

Releases: goby-lang/goby

Support splat argument and some fixes

03 Sep 15:51
Compare
Choose a tag to compare
  • Upgrade to Go 1.9
  • Support splat arguments
  • Add dup and splat_array instructions
  • Restrict parameters define order: normal arg > optioned arg > splat arg (last)
  • Suspend using duplicated parameter name when defining methods - by @shuheiktgw
  • Refactor lexer to better support string escaping - by @Maxwell-Alexius
  • Fix REPL's display issue on Windows OS - by @mattn

Patch for v0.1.0

24 Aug 16:57
Compare
Choose a tag to compare
v0.1.1

Bump version to 0.1.1

First release

24 Aug 16:52
Compare
Choose a tag to compare

Full features for version 0.1.0

Special Features

  • Plugin system
    • Allows to use Go libraries (packages) dynamically
    • Allows to call Go's methods from Goby directly (only on Linux for now)
  • Builtin multi-threaded server and DB library
  • REPL (run goby -i)

Normal Language Features

  • Everything is object
  • Object and Class
    • Top level main object
    • Constructor
    • Class/instance method
    • Class
      • Inheritance
      • Singleton class is now supported
    • self
  • Module
    • #include
    • #extend
    • :: for namespace
  • Variable: starts with lowercase letter like 'var`
    • Local variable
    • Instance variable
  • Constant
    • Starts with uppercase like Var or VAR
    • global if defined on top-level
    • not reentrant
    • (special variables with $ are unsupported)
  • Methods
    • Evaluation with arguments
    • Evaluation without arguments
    • Evaluation with block (closure)
    • Defining singleton method
  • Block
    • do - end
  • Flow control
    • if, else, elsif
    • while
  • IO
    • #puts
    • ARGV
  • Import files
    • require (Just for standard libraries by now)
    • require_relative
  • Thread (not a class!)
    • Goroutine-based thread method to create a new thread
    • Works with Channel class for passing objects between threads, like chan in Go
    • See this sample: One thousand threads

v0.1.0.rc2

19 Aug 04:26
Compare
Choose a tag to compare
Fix not found logging.

v0.0.9

12 Jul 05:56
Compare
Choose a tag to compare
  • Added REPL
  • Largely refactored vm
  • Fixed some compiler bugs
  • Removed compile feature
  • Added Range class
  • Ported more API to built in types

Support thread and add built in multi-thread web server

21 Jun 14:53
Compare
Choose a tag to compare
  • Add Net::SimpleServer as built in server
  • Support thread method to create new thread
  • Add Channel for passing objects between threads

Add more methods to File lib

08 Jun 13:34
Compare
Choose a tag to compare
Merge pull request #145 from goby-lang/add-new-method-to-file

Add new methods to file

Add standard libs

08 Jun 13:30
Compare
Choose a tag to compare

Added some standard libraries like:

  • URI
  • Net::HTTP
  • Net::SimpleServer
  • File

Also improved VM's design and fixed some syntax issues.

v0.0.2

22 May 11:14
Compare
Choose a tag to compare

An update

v0.0.1

08 May 12:04
Compare
Choose a tag to compare

This is the first release of this language.