Skip to content

Instantly share code, notes, and snippets.

@nuclearsandwich
Created January 17, 2012 01:15
Show Gist options
  • Save nuclearsandwich/1623964 to your computer and use it in GitHub Desktop.
Save nuclearsandwich/1623964 to your computer and use it in GitHub Desktop.
bison --output /home/steven/Code/fancy/lang/lib/parser/ext/parser.c -d -v /home/steven/Code/fancy/lang/lib/parser/ext/parser.y
/home/steven/Code/fancy/lang/lib/parser/ext/parser.y:182.17-25: warning: type clash on default action: <object> != <>
/home/steven/Code/fancy/lang/lib/parser/ext/parser.y: conflicts: 328 shift/reduce, 89 reduce/reduce
/home/steven/Code/fancy/lang/lib/parser/ext/parser.y:304.19-306.17: warning: rule useless in parser due to conflicts: return_statement: RETURN
flex --outfile /home/steven/Code/fancy/lang/lib/parser/ext/lexer.c --header-file=lexer.h /home/steven/Code/fancy/lang/lib/parser/ext/lexer.lex
rbx /home/steven/Code/fancy/lang/lib/parser/ext/extconf.rb
checking for main() in -lfl... yes
creating Makefile
flex --outfile /home/steven/Code/fancy/lang/boot/rbx-compiler/parser/lexer.c --header-file=lexer.h /home/steven/Code/fancy/lang/boot/rbx-compiler/parser/lexer.lex
bison --output /home/steven/Code/fancy/lang/boot/rbx-compiler/parser/parser.c -d -v /home/steven/Code/fancy/lang/boot/rbx-compiler/parser/parser.y
/home/steven/Code/fancy/lang/boot/rbx-compiler/parser/parser.y:171.17-25: warning: type clash on default action: <object> != <>
/home/steven/Code/fancy/lang/boot/rbx-compiler/parser/parser.y: conflicts: 283 shift/reduce, 79 reduce/reduce
/home/steven/Code/fancy/lang/boot/rbx-compiler/parser/parser.y:280.19-282.17: warning: rule useless in parser due to conflicts: return_statement: RETURN
rbx /home/steven/Code/fancy/lang/boot/rbx-compiler/parser/extconf.rb
checking for main() in -lfl... yes
creating Makefile
make -C /home/steven/Code/fancy/lang/boot/rbx-compiler/parser
make: Entering directory `/home/steven/Code/fancy/lang/boot/rbx-compiler/parser'
gcc -I. -I. -I/home/steven/.rvm/rubies/rbx-head/18/include -I/home/steven/Code/fancy/lang/boot/rbx-compiler/parser -fPIC -ggdb3 -fPIC -O2 -I/usr/local/include -c parser.c
gcc -I. -I. -I/home/steven/.rvm/rubies/rbx-head/18/include -I/home/steven/Code/fancy/lang/boot/rbx-compiler/parser -fPIC -ggdb3 -fPIC -O2 -I/usr/local/include -c lexer.c
gcc -I. -I. -I/home/steven/.rvm/rubies/rbx-head/18/include -I/home/steven/Code/fancy/lang/boot/rbx-compiler/parser -fPIC -ggdb3 -fPIC -O2 -I/usr/local/include -c fancy_parser.c
gcc -shared -o fancy_parser.so parser.o lexer.o fancy_parser.o -L. -L/home/steven/.rvm/rubies/rbx-head/lib -L/usr/local/lib -lfl
make: Leaving directory `/home/steven/Code/fancy/lang/boot/rbx-compiler/parser'
make -C /home/steven/Code/fancy/lang/lib/parser/ext
make: Entering directory `/home/steven/Code/fancy/lang/lib/parser/ext'
gcc -I. -I. -I/home/steven/.rvm/rubies/rbx-head/18/include -I/home/steven/Code/fancy/lang/lib/parser/ext -fPIC -ggdb3 -fPIC -O2 -I/usr/local/include -c parser.c
gcc -I. -I. -I/home/steven/.rvm/rubies/rbx-head/18/include -I/home/steven/Code/fancy/lang/lib/parser/ext -fPIC -ggdb3 -fPIC -O2 -I/usr/local/include -c lexer.c
gcc -I. -I. -I/home/steven/.rvm/rubies/rbx-head/18/include -I/home/steven/Code/fancy/lang/lib/parser/ext -fPIC -ggdb3 -fPIC -O2 -I/usr/local/include -c ext.c
gcc -shared -o fancy_parser.so parser.o lexer.o ext.o -L. -L/home/steven/.rvm/rubies/rbx-head/lib -L/usr/local/lib -lfl
make: Leaving directory `/home/steven/Code/fancy/lang/lib/parser/ext'
Compiling fancy into boot/compiler using ruby-based compiler from boot/rbx-compiler.
An exception occurred running /home/steven/Code/fancy/lang/boot/rbx-compiler/compiler.rb
Error trying to compile fancy: /home/steven/Code/fancy/lang/lib/future.fy (Rubinius::CompileError)
Backtrace:
Rubinius::Compiler.compiler_error at /home/steven/.rvm/rubies/rbx-head
/runtime/18/compiler/compiler.rbc:13
Fancy::Compiler.compile_fancy_file at boot/rbx-compiler/compiler
/compiler.rb:34
Fancy::Compiler::Command.compile at boot/rbx-compiler/compiler/command.rb:35
{ } in Fancy::Compiler::Command.run at boot/rbx-compiler/compiler/command.rb:28
Array#each at kernel/bootstrap/array.rb:68
Fancy::Compiler::Command.run at boot/rbx-compiler/compiler/command.rb:23
Object#__script__ at boot/rbx-compiler/compiler.rb:23
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:67
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:109
Rubinius::Loader#script at kernel/loader.rb:630
Rubinius::Loader#main at kernel/loader.rb:834
Caused by: undefined method `parse_error' on 70287466298777:Fixnum. (NoMethodError)
Backtrace:
Kernel(Fixnum)#parse_error (method_missing) at kernel/delta/kernel.rb:81
#<Module:0xc768>(Fancy::Parser)#parse_file at fancy_parser.c
Fancy::Parser.parse_file at boot/rbx-compiler/parser/parser.rb:15
Fancy::Compiler::FancyFileParser#run at boot/rbx-compiler/compiler/stages.rb:90
Rubinius::Compiler(Fancy::Compiler)#run at /home/steven/.rvm/rubies/rbx-head
/runtime/18/compiler
/compiler.rbc:372
Fancy::Compiler.compile_fancy_file at boot/rbx-compiler/compiler
/compiler.rb:32
Fancy::Compiler::Command.compile at boot/rbx-compiler/compiler
/command.rb:35
{ } in Fancy::Compiler::Command.run at boot/rbx-compiler/compiler
/command.rb:28
Array#each at kernel/bootstrap/array.rb:68
Fancy::Compiler::Command.run at boot/rbx-compiler/compiler
/command.rb:23
Object#__script__ at boot/rbx-compiler/compiler.rb:23
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:67
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:109
Rubinius::Loader#script at kernel/loader.rb:630
Rubinius::Loader#main at kernel/loader.rb:834
rbx /home/steven/Code/fancy/lang/boot/rbx-compiler/compiler.rb /home/steven/Code/fancy/lang/boot/compile.fy
Compiling fancy using stable compiler.
An exception occurred running /home/steven/Code/fancy/lang/boot/load.rb
File not found /home/steven/Code/fancy/lang/boot/compiler/boot.fyc (RuntimeError)
Backtrace:
Fancy::BootstrapCodeLoader.load_compiled_file at boot/load.rb:36
{ } in Object#__script__ at boot/load.rb:76
Array#each at kernel/bootstrap/array.rb:68
Object#__script__ at boot/load.rb:76
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:67
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:109
Rubinius::Loader#script at kernel/loader.rb:630
Rubinius::Loader#main at kernel/loader.rb:834
Compiling fancy into boot/compiler using development compiler from lib/
An exception occurred running /home/steven/Code/fancy/lang/boot/load.rb
File not found /home/steven/Code/fancy/lang/lib/boot.fyc (RuntimeError)
Backtrace:
Fancy::BootstrapCodeLoader.load_compiled_file at boot/load.rb:36
{ } in Object#__script__ at boot/load.rb:76
Array#each at kernel/bootstrap/array.rb:68
Object#__script__ at boot/load.rb:76
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:67
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:109
Rubinius::Loader#script at kernel/loader.rb:630
Rubinius::Loader#main at kernel/loader.rb:834
Using fresh built compiler as `stable compiler' in boot/compiler
rm -rf /home/steven/Code/fancy/lang/boot/compiler
mv /home/steven/Code/fancy/lang/boot/.wootstrap /home/steven/Code/fancy/lang/boot/compiler
rbx /home/steven/Code/fancy/lang/boot/load.rb /home/steven/Code/fancy/lang/lib/boot.fyc /home/steven/Code/fancy/lang/lib/compiler.fyc /home/steven/Code/fancy/lang/lib/compiler/command.fyc /home/steven/Code/fancy/lang/boot/compile.fyc -- /home/steven/Code/fancy/lang/lib/set.fy
An exception occurred running /home/steven/Code/fancy/lang/boot/load.rb
File not found /home/steven/Code/fancy/lang/lib/boot.fyc (RuntimeError)
Backtrace:
Fancy::BootstrapCodeLoader.load_compiled_file at boot/load.rb:36
{ } in Object#__script__ at boot/load.rb:76
Array#each at kernel/bootstrap/array.rb:68
Object#__script__ at boot/load.rb:76
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:67
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:109
Rubinius::Loader#script at kernel/loader.rb:630
Rubinius::Loader#main at kernel/loader.rb:834
rake aborted!
Command failed with status (1): [rbx /home/steven/Code/fancy/lang/boot/load...]
Tasks: TOP => default => compile => /home/steven/Code/fancy/lang/lib/set.fyc
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment