RubyX compiles ruby to binary (in ruby), hoping to be that X times faster
Go to file
2014-04-23 23:40:35 +03:00
lib cleaned up BIG time, instruction hierachy, better names, DRYd up a lot 2014-04-23 23:40:35 +03:00
test improved requires 2014-04-23 13:57:34 +03:00
.document jeweler generates its things 2014-04-14 15:58:59 +03:00
.gitignore ignore object files 2014-04-20 23:47:14 +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 clean and work on labels 2014-04-21 17:27:05 +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 verify it's output. But full elf support (including externs) is eluding me for now.

Still, this has proven to be a good review point for the arcitecture and means no libc for now. Full rationale on the web (pages rep for now), but it means starting an extra step

Step 2.1

Start implementing syscalls and the functionality we actually need from c (basic io only really)

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.