eople
eople copied to clipboard
Actor-model based concurrency in a reactive programming language.
Implement ast walker to use [jitbox](https://github.com/FBMachine/jitbox) to generate native code.
Allow monitoring of processes for failure. ``` pid = SomeProcess() error_message = pid->on_error() when error_message: print("Process exited with error: " + to_string(error_message)) end # normal exit case exit_message = pid->on_exit()...
Implement first pass minimal file io. e.g. ``` in_file = open('file.txt', 'r') out_file = open('copy.txt', 'w') for line in in_file: out_file.write(line) end ``` Tasks: - [ ] Add wrapper around...
Implement Erlang/Prolog/Elixir style pattern matching on complex types, e.g. ``` x = [1,2,3] [a,b,c] = x print(a) # 1 print(c) # 3 obj = {'name': 'Emmett', 'age': 1} {'age': his_age}...
Allow e.g. ``` def outer(i): captured = 0 def inner(j): print(i + j + captured) captured += 1 end return inner end fun = outer(2) fun(5) # 7 fun(5) #...
* Break into a series of separate tutorials, linked from main README * "Hello Eople" tutorial should focus on what makes eople unique (e.g. when/whenever keywords) * "Overview" tutorial should...
Change: ``` x = array() ``` to: ``` x = array() # or: x = [] ``` Should be able to use unification for type inference like everything else, and...
Functions should be treated as first class objects. e.g. ``` def sqr(x): return x * x end def test(function): print(function(5)) # 25 end def main(): print(sqr(5)) # 25 fun =...