I then cloned charliesome/twostroke into the twostroke folder and get this error:
make[1]: Entering directory `/home/calvin/Documents/jsos/kernel'
js js/kernel/init.js
/home/calvin/Documents/jsos/twostroke/lib/twostroke.rb:2:in `require': /home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:34: undefined (?...) sequence: /((?<oct>0[0-7]+)|(?<hex>0x[A-Fa-f0-9]+)|(?<to_f>(\d+(\.?\d*([eE][+-]?\d+)?)?|\.\d+([eE][+-]?\d+)?)))/ (SyntaxError)
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:34: syntax error, unexpected '>'
...?|\.\d+([eE][+-]?\d+)?)))/, ->m do
^
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:42: syntax error, unexpected ']', expecting kEND
end ],
^
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:46: syntax error, unexpected ',', expecting tCOLON2 or '[' or '.'
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:47: syntax error, unexpected '>'
[ :BAREWORD, /[a-zA-Z_\$][\$a-zA-Z_0-9]*/, ->m { m[0] } ],
^
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:47: syntax error, unexpected ']', expecting kEND
[ :BAREWORD, /[a-zA-Z_\$][\$a-zA-Z_0-9]*/, ->m { m[0] } ],
^
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:49: syntax error, unexpected '>'
...).))*?((?!\1)(?!\\).)?)\1/, ->m { unescape_string m[2] } ],
^
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:49: syntax error, unexpected ']', expecting kEND
...->m { unescape_string m[2] } ],
^
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:51: undefined (?...) sequence: /\/(?<src>(\\.|[^\1])*?[^\1\\]?)\/(?<opts>[gim]+)?/
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:51: syntax error, unexpected '>'
...^\1\\]?)/(?<opts>[gim]+)?}, ->m {
^
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:63: syntax error, unexpected ']', expecting kEND
} ],
^
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:65: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:66: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:67: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:68: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:69: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:70: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:72: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:74: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:75: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:76: syntax error, unexpected ',', expecting kEND
... [ :TIMES_EQUALS, /\*=/ ], # textmate barfs it's syntax ...
^
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:77: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:78: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:79: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:80: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:81: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:82: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:83: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:84: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:86: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:87: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:88: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:89: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:90: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:91: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:92: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:93: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:94: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:95: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:96: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:98: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:99: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:100: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:101: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:102: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:103: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:104: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:105: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:106: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:107: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:108: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:109: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:111: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:112: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:113: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:114: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:115: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:116: syntax error, unexpected ',', expecting kEND
/home/calvin/Documents/jsos/twostroke/lib/twostroke/tokens.rb:117: syntax error, unexpected ',', expecting kEND
from /home/calvin/Documents/jsos/twostroke/lib/twostroke.rb:2
from ../compiler/compile.rb:2:in `require'
from ../compiler/compile.rb:2
make[1]: *** [js/kernel/init.o] Error 1
rm js/kernel/init.o
make[1]: Leaving directory `/home/calvin/Documents/jsos/kernel'
make: *** [kernel/hdd.img] Error 2