Mercurial > repos > rhope
comparison file.rhope @ 100:f51c4c17457c
Broken port of parser to compiler
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 09 Aug 2010 02:03:57 -0400 |
parents | 2e2e55fc12f9 |
children | 25a205094f9b |
comparison
equal
deleted
inserted
replaced
99:e09c2d1d6d5b | 100:f51c4c17457c |
---|---|
97 type <- File ReadWrite() | 97 type <- File ReadWrite() |
98 out <- [ofile]Read Offset <<[0i64] | 98 out <- [ofile]Read Offset <<[0i64] |
99 } | 99 } |
100 } | 100 } |
101 } | 101 } |
102 fd <- open[[[[file]Name >>]Flatten]Buffer >>, imode, 438u32] | 102 fd <- open[[[[[file]Name >>]Flatten]Buffer >>]Append[0u8], imode, 438u32] |
103 error <- If[[fd]=[-1i32]] {} | 103 error <- If[[fd]=[-1i32]] {} |
104 { | 104 { |
105 ofile <- [[[Build[type] | 105 ofile <- [[[Build[type] |
106 ]Name <<[ [file]Name >> ] | 106 ]Name <<[ [file]Name >> ] |
107 ]Descriptor <<[fd] | 107 ]Descriptor <<[fd] |