Sami Samhuri
bc6a3d4d3b
[NEW] Binary assembler outputs working machine code and Mach-O object files that can be linked into working executables.
2009-06-25 09:42:56 -07:00
sjs
76d4d2be3a
[BUNK] moving to macbook, broken commit.
2009-05-24 20:29:17 -07:00
sjs
3fad8e3522
updated Makefiles
2009-05-24 13:29:25 -07:00
sjs
574a793638
updated .gitignore (new test dir)
2009-05-24 13:01:12 -07:00
sjs
ead7e52e92
updated .gitignore, removed generated asm for tests
2009-05-21 14:15:19 -07:00
sjs
dc23e23b92
[NEW] Boolean expressions. Print statement.
2009-05-21 13:39:20 -07:00
sjs
3f070cd0db
[NEW] Emit x86 code for the mov instruction. Barely works 1/2 the time.
...
The supporting infrastructure includes a C program for reading a
binary blob of x86 code and wrapping it in an ELF executable for Linux
x86. Unsure about getting the data for other sections of the binary
besides .text.
2009-05-19 17:01:14 -07:00
sjs
221efca282
[NEW] while, until, repeat, and break keywords.
...
While and until loops work as in C and Ruby. Repeat loops infinitely
(or until a break is encountered). Break is used to break out of the
innermost loop construct.
2009-05-17 08:13:43 -07:00
sjs
f5678a312e
[NEW] Rudimentary if statement. No else yet.
2009-05-16 14:49:26 -07:00
sjs
268c6f6c29
[NEW] Parse assignment statements. Added template and test code.
2009-05-13 23:20:51 -07:00
sjs
ff2b68a8f2
[NEW] Expression grouping with parens. (end of part 2)
2009-05-13 21:16:51 -07:00
sjs
af95bd9dec
Initial commit of a compiler in Ruby.
2009-05-13 20:56:46 -07:00