forked from macournoyer/tinyrb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TODO
50 lines (48 loc) · 1.51 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
== Soon
[x] Implement String
[x] Implement Object
[x] Implement Class
[x] Implement Fixnum
[x] Make parser output AST
[x] Implement if, unless
[x] Implement simple method argument passing
[x] Implement while, until
[x] Include GC (Boehm)
[x] Monomorphic method cache (using CallSite)
[x] Implement basic method definition
[x] Implement GET/SETCONST
[x] Implement basic class definition
[x] Pass args to defined methods
[x] Bootstrap all class correctly (nil,true,false too)
[x] Fix CallSite error in recursive calls
[x] Allow reopening classes
[ ] Implement Array, Hash
[ ] Implement Module
[ ] Implement Proc, yield and all that Jazz
[ ] Implement some more corelib stuff in Ruby and embed bytecode
[ ] puts nil # => nil in Ruby
*** See TODO in code too!
== Later
[x] Inline some methods (+,<,>,==) as VM instructions, eg.: FIXNUM_ADD, STRING_CONCAT
[ ] Get it to build w/ -ansi gcc option (might need to get rid of khash.h)
[ ] Fix operator precedence, add (...)
[ ] Implement metaclass
[ ] Implement splat operator
[ ] Implement exceptions
[ ] Implement super
[ ] Peephole optimization (Remove useless register allocations)
[ ] Implement IO and File (using libev?)
[ ] Compile to file
[ ] Implement case...when
[ ] Implement Float, Bignum
[ ] Run RubySpecs
[ ] Sandbox
== Oh Yeah That'll be Cool!
[ ] Rubygem support w/ http://github.com/fabien/minigems
[ ] Replace GC w/ smaller, simpler & embedable one (Io's maybe?)
[ ] REPL
[ ] Unicode
[ ] FFI
[ ] lightweight threads, coroutines (using libconcurrency?)
[ ] JIT
[ ] SIMD acceleration