meta_compile 0.0.13 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/bin/meta_compile +2 -2
- data/bootstrap/meta_ruby_compiler.rb +2 -2
- data/meta_compile.gemspec +1 -1
- data/syntaxes/meta_to_ruby_minimal.meta +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -3,7 +3,7 @@ meta_compile
|
|
3
3
|
|
4
4
|
A meta compilation framework for Ruby à la [Meta-II by Val Schorre](http://ibm-1401.info/Meta-II-schorre.pdf).
|
5
5
|
|
6
|
-
This uses a [C version of Meta-II](https://github.com/impeachgod/meta) developed by Long Nguyen to bootstrap a Ruby version from a [fully self-contained, 26 (non-empty) line specification file](https://raw.github.com/robertfeldt/meta_compile/master/
|
6
|
+
This uses a [C version of Meta-II](https://github.com/impeachgod/meta) developed by Long Nguyen to bootstrap a Ruby version from a [fully self-contained, 26 (non-empty) line specification file](https://raw.github.com/robertfeldt/meta_compile/master/syntaxes/meta_to_ruby_minimal.meta). The [generated Ruby Meta-II compiler file](https://github.com/robertfeldt/meta_compile/blob/master/bin/meta_compile) is 231 lines of Ruby code.
|
7
7
|
|
8
8
|
Install
|
9
9
|
-------
|
data/bin/meta_compile
CHANGED
@@ -222,10 +222,10 @@ raise("error at: " + @i.rest.split("\n")[0]) if !@f
|
|
222
222
|
raise("error at: " + @i.rest.split("\n")[0]) if !@f
|
223
223
|
@o.print 'end'
|
224
224
|
@o.print "\n"
|
225
|
-
@o.print '$c.new.compile(File.read(ARGV[0]), STDOUT)
|
225
|
+
@o.print '$c.new.compile(File.read(ARGV[0]), STDOUT)'
|
226
226
|
@o.print "\n"
|
227
227
|
end
|
228
228
|
end while false
|
229
229
|
end
|
230
230
|
end
|
231
|
-
$c.new.compile(File.read(ARGV[0]), STDOUT)
|
231
|
+
$c.new.compile(File.read(ARGV[0]), STDOUT)
|
@@ -222,10 +222,10 @@ raise("error at: " + @i.rest.split("\n")[0]) if !@f
|
|
222
222
|
raise("error at: " + @i.rest.split("\n")[0]) if !@f
|
223
223
|
@o.print 'end'
|
224
224
|
@o.print "\n"
|
225
|
-
@o.print '$c.new.compile(File.read(ARGV[0]), STDOUT)
|
225
|
+
@o.print '$c.new.compile(File.read(ARGV[0]), STDOUT)'
|
226
226
|
@o.print "\n"
|
227
227
|
end
|
228
228
|
end while false
|
229
229
|
end
|
230
230
|
end
|
231
|
-
$c.new.compile(File.read(ARGV[0]), STDOUT)
|
231
|
+
$c.new.compile(File.read(ARGV[0]), STDOUT)
|
data/meta_compile.gemspec
CHANGED