Skip to content

Instantly share code, notes, and snippets.

View bakkdoor's full-sized avatar

Christopher Bertels bakkdoor

View GitHub Profile
Building Melbourne for Rubinius
Building openssl
There was an error loading the compiler.
It appears that your compiler is out of date with the VM.
Please use 'rbx --rebuild-compiler' or 'rake [instal]' to
bring the compiler back to date.
rake aborted!
Command failed with status (1): [~/downloads/rubinius-head/bin/rbx-buil...]
def foo: arg1 bar: arg2 {
"""
@arg1 A argument description for `arg1`
@arg2 another description for `arg2`
@return Specify the return value
Some documentation text, possibly with more details.
"""
}
str.gsub(/(\s+)@(\S+)@(\s+)/, "#{$1}*#{$2}*#{$3}").gsub(/(\s+)@(\S+)(\s+)/, "#{$1}**#{$2}**#{$3}")
bakkdoor:~/projekte/fancy/fancy-lang[bootstrap*]> rbx boot/load.rb boot/compile.fy examples/class.fy
An exception occurred running boot/load.rb
Error trying to compile examples/class.fy (Rubinius::CompileError)
Backtrace:
Rubinius::Compiler.compiler_error at /usr/local/rubinius/1.1/lib/compiler/compiler.rbc:11
Fancy::Compiler.compile_file:to:line:print: at boot/compiler/compiler.fy:35
Fancy::Compiler::Command.compile:info:print: at boot/compiler/command.fy:12
{ } in Fancy::Compiler::Command.run: at boot/compiler/command.fy:6
{ } in Rubinius::BlockEnvironment#Block at rbx/fancy_ext/block_env.rb:18
bakkdoor:~/projekte/fancy/fancy-lang[bootstrap]> rake default boot_lib
(in /home/bakkdoor/projekte/fancy/fancy-lang)
flex --outfile /home/bakkdoor/projekte/fancy/fancy-lang/rbx/parser/lexer.c --header-file=lexer.h /home/bakkdoor/projekte/fancy/fancy-lang/rbx/parser/lexer.lex
bison --output /home/bakkdoor/projekte/fancy/fancy-lang/rbx/parser/parser.c -d -v /home/bakkdoor/projekte/fancy/fancy-lang/rbx/parser/parser.y
/home/bakkdoor/projekte/fancy/fancy-lang/rbx/parser/parser.y:175.17-25: Warnung: Typkonflikt bei Default-Aktion: <object> != <>)
/home/bakkdoor/projekte/fancy/fancy-lang/rbx/parser/parser.y: Konflikte: 252 Schiebe/Reduziere, 40 Reduziere/Reduziere
rbx /home/bakkdoor/projekte/fancy/fancy-lang/rbx/parser/extconf.rb
checking for main() in -lfl... yes
creating Makefile
make -C /home/bakkdoor/projekte/fancy/fancy-lang/rbx/parser
bakkdoor:~/Desktop/fancy[(no branch)*]> rake bootstrap
(in /home/bakkdoor/Desktop/fancy)
flex --outfile /home/bakkdoor/Desktop/fancy/boot/parser/lexer.c --header-file=lexer.h /home/bakkdoor/Desktop/fancy/boot/parser/lexer.lex
bison --output /home/bakkdoor/Desktop/fancy/boot/parser/parser.c -d -v /home/bakkdoor/Desktop/fancy/boot/parser/parser.y
/home/bakkdoor/Desktop/fancy/boot/parser/parser.y:177.17-25: Warnung: Typkonflikt bei Default-Aktion: <object> != <>)
/home/bakkdoor/Desktop/fancy/boot/parser/parser.y: Konflikte: 261 Schiebe/Reduziere, 40 Reduziere/Reduziere
rbx /home/bakkdoor/Desktop/fancy/boot/parser/extconf.rb
checking for main() in -lfl... yes
creating Makefile
make -C /home/bakkdoor/Desktop/fancy/boot/parser
bakkdoor:~/projekte/fancy/fancy-lang[bootstrap]> rake
(in /home/bakkdoor/projekte/fancy/fancy-lang)
rbx /home/bakkdoor/projekte/fancy/fancy-lang/boot/load.rb /home/bakkdoor/projekte/fancy/fancy-lang/boot/compiler/boot.fyc /home/bakkdoor/projekte/fancy/fancy-lang/boot/compiler/compiler.fyc /home/bakkdoor/projekte/fancy/fancy-lang/boot/compiler/compiler/command.fyc /home/bakkdoor/projekte/fancy/fancy-lang/boot/compiler/compile.fyc -- /home/bakkdoor/projekte/fancy/fancy-lang/lib/fdoc.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/fancy_spec.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/version.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/directory.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/enumerable.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/object.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/hash.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/set.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/number.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/main.fy /home/bakkdoor/projekte/fancy/fancy
bakkdoor:~/Desktop/fancy[bootstrap]> rake bootstrap
(in /home/bakkdoor/Desktop/fancy)
rbx /home/bakkdoor/Desktop/fancy/lib/parser/ext/extconf.rb
checking for main() in -lfl... yes
creating Makefile
make -C /home/bakkdoor/Desktop/fancy/lib/parser/ext
make: Gehe in Verzeichnis '/home/bakkdoor/Desktop/fancy/lib/parser/ext'
gcc -I. -I. -I/home/bakkdoor/projekte/ruby/rubinius/vm/capi/include -I/home/bakkdoor/Desktop/fancy/lib/parser/ext -fPIC -ggdb3 -O2 -fPIC -c ext.c
gcc -I. -I. -I/home/bakkdoor/projekte/ruby/rubinius/vm/capi/include -I/home/bakkdoor/Desktop/fancy/lib/parser/ext -fPIC -ggdb3 -O2 -fPIC -c parser.c
gcc -I. -I. -I/home/bakkdoor/projekte/ruby/rubinius/vm/capi/include -I/home/bakkdoor/Desktop/fancy/lib/parser/ext -fPIC -ggdb3 -O2 -fPIC -c lexer.c
@bakkdoor
bakkdoor / 2
Created November 17, 2010 00:55
1
bakkdoor:~/Desktop/fancy[bootstrap*]> rbx /home/bakkdoor/Desktop/fancy/boot/load.rb /home/bakkdoor/Desktop/fancy/boot/compiler/boot.fyc /home/bakkdoor/Desktop/fancy/boot/compiler/compiler.fyc /home/bakkdoor/Desktop/fancy/boot/compiler/compiler/command.fyc /home/bakkdoor/Desktop/fancy/boot/compiler/compile.fyc -- lib/**/*.fy --batch
Compiling lib/compiler/ast.fy
Compiling lib/compiler/command.fy
Compiling lib/compiler/compiler.fy
Compiling lib/compiler/stages.fy
Compiling lib/package/dependency.fy
Compiling lib/package/installer.fy
Compiling lib/package/specification.fy
Compiling lib/package/uninstaller.fy
Compiling lib/parser/methods.fy
bakkdoor:~/Desktop/fancy[bootstrap*]> rake bootstrap -v
(in /home/bakkdoor/Desktop/fancy)
make -C /home/bakkdoor/Desktop/fancy/lib/parser/ext
make: Gehe in Verzeichnis '/home/bakkdoor/Desktop/fancy/lib/parser/ext'
gcc -I. -I. -I/home/bakkdoor/projekte/ruby/rubinius/vm/capi/include -I/home/bakkdoor/Desktop/fancy/lib/parser/ext -fPIC -ggdb3 -O2 -fPIC -c ext.c
gcc -I. -I. -I/home/bakkdoor/projekte/ruby/rubinius/vm/capi/include -I/home/bakkdoor/Desktop/fancy/lib/parser/ext -fPIC -ggdb3 -O2 -fPIC -c parser.c
gcc -I. -I. -I/home/bakkdoor/projekte/ruby/rubinius/vm/capi/include -I/home/bakkdoor/Desktop/fancy/lib/parser/ext -fPIC -ggdb3 -O2 -fPIC -c lexer.c
cc -shared -o fancy_parser.so ext.o parser.o lexer.o -L. -L/home/bakkdoor/projekte/ruby/rubinius/lib -lfl
make: Verlasse Verzeichnis '/home/bakkdoor/Desktop/fancy/lib/parser/ext'
mkdir -p /home/bakkdoor/Desktop/fancy/boot/compiler/parser/ext