RubyX compiles ruby to binary (in ruby), hoping to be that X times faster
Go to file
2014-04-20 00:13:58 +03:00
lib fix names and requires to get some elf out again (still crashes though) 2014-04-19 23:25:46 +03:00
test adds the other load store instructions 2014-04-19 19:38:13 +03:00
unused fixed the example assembler program. compilation actually works 2014-04-20 00:13:58 +03:00
.document jeweler generates its things 2014-04-14 15:58:59 +03:00
.gitignore adds first version of the expanded as assembler from mikko 2014-04-14 18:09:56 +03:00
Gemfile cleanup, requires, namespacing to actually get it to work 2014-04-14 21:52:16 +03:00
Gemfile.lock cleanup, requires, namespacing to actually get it to work 2014-04-14 21:52:16 +03:00
LICENSE.txt jeweler generates its things 2014-04-14 15:58:59 +03:00
Rakefile clean up after a little 2014-04-14 16:46:17 +03:00
README.md small doc 2014-04-16 12:45:36 +03:00
README.rdoc jeweler generates its things 2014-04-14 15:58:59 +03:00
VERSION Version bump to 0.0.0 2014-04-14 19:48:04 +03:00

Crystal

Small steps on a long road, will nevertheless lead to the destination

Sorry about the Zen, but it feels like i'm about to walk to China.

Step 1

Produce binary that represent code. Traditionally called assembling, but there is no need for an external file representation.

Ie only in ruby code do i want to create machine code.

First instructions are in fact assembling correctly. Meaning i have tests, and i can use objbump to verify the correct assembler code is disasembled

Step 2

Package the code into an executable. Run that and verufy it's output.

Currently hangin on the elf format.

Step 3

Start parsing some simple code. Using Parslet.

Get the parse - compile - execute -verify cycle going.

Step 4

Implement function calling to modularise. Implement a way to call libc

Step 5

Implement classes, implement Core library of arrays/hash

Step 6

Implement Blocks

Step 7

Implement Exceptions

Step 8

Celebrate New year 2020

Contributing to crystal

  • Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
  • Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
  • Fork the project.
  • Start a feature/bugfix branch.
  • Commit and push until you are happy with your contribution.
  • Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
  • Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

== Copyright

Copyright (c) 2014 Torsten Ruger. See LICENSE.txt for further details.