Releases: goby-lang/goby
Releases · goby-lang/goby
Support splat argument and some fixes
- Upgrade to Go
1.9
- Support splat arguments
- Add
dup
andsplat_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
v0.1.1 Bump version to 0.1.1
First release
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
orVAR
- global if defined on top-level
- not reentrant
- (special variables with
$
are unsupported)
- Starts with uppercase like
- 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, likechan
in Go - See this sample: One thousand threads
- Goroutine-based
v0.1.0.rc2
Fix not found logging.
v0.0.9
Support thread and add built in multi-thread web server
- 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
Merge pull request #145 from goby-lang/add-new-method-to-file Add new methods to file
Add standard libs
Added some standard libraries like:
URI
Net::HTTP
Net::SimpleServer
File
Also improved VM's design and fixed some syntax issues.
v0.0.2
An update
v0.0.1
This is the first release of this language.