Skip to content

Instantly share code, notes, and snippets.

@goyox86
Created November 15, 2010 16:14
Show Gist options
  • Save goyox86/700523 to your computer and use it in GitHub Desktop.
Save goyox86/700523 to your computer and use it in GitHub Desktop.
Goyox86s-MacBook:fancy goyox86$ rake boot_lib
(in /Users/goyox86/Desktop/code/fancy)
bison --output /Users/goyox86/Desktop/code/fancy/boot/parser/parser.c -d -v /Users/goyox86/Desktop/code/fancy/boot/parser/parser.y
/Users/goyox86/Desktop/code/fancy/boot/parser/parser.y:177.17-25: warning: type clash on default action: <object> != <>
/Users/goyox86/Desktop/code/fancy/boot/parser/parser.y: conflicts: 261 shift/reduce, 40 reduce/reduce
rbx /Users/goyox86/Desktop/code/fancy/boot/parser/extconf.rb
checking for main() in -lfl... yes
creating Makefile
make -C /Users/goyox86/Desktop/code/fancy/boot/parser
gcc -I. -I. -I/Users/goyox86/.rvm/rubies/rbx-head/include -I/Users/goyox86/Desktop/code/fancy/boot/parser -ggdb3 -O2 -fPIC -c parser.c
cc -dynamic -bundle -undefined suppress -flat_namespace -o fancy_parser_ext.bundle ext.o lexer.o parser.o -L. -L/Users/goyox86/.rvm/rubies/rbx-head/lib -lfl
rbx /Users/goyox86/Desktop/code/fancy/rbx/compiler.rb --batch /Users/goyox86/Desktop/code/fancy/boot/compile.fy /Users/goyox86/Desktop/code/fancy/boot/compiler.fy /Users/goyox86/Desktop/code/fancy/boot/parser.fy /Users/goyox86/Desktop/code/fancy/boot/compiler/ast.fy /Users/goyox86/Desktop/code/fancy/boot/compiler/command.fy /Users/goyox86/Desktop/code/fancy/boot/compiler/compiler.fy /Users/goyox86/Desktop/code/fancy/boot/compiler/stages.fy /Users/goyox86/Desktop/code/fancy/boot/parser/methods.fy /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/assign.fy /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/block.fy /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/class_def.fy /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/expression_list.fy /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/identifier.fy /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/literals.fy /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/match.fy /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/message_send.fy /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/method_def.fy /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/node.fy /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/require.fy /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/script.fy /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/singleton_method_def.fy /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/super.fy /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/try_catch.fy /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/tuple_literal.fy
Compiling /Users/goyox86/Desktop/code/fancy/boot/compile.fy
Compiling /Users/goyox86/Desktop/code/fancy/boot/compiler.fy
Compiling /Users/goyox86/Desktop/code/fancy/boot/parser.fy
Compiling /Users/goyox86/Desktop/code/fancy/boot/compiler/ast.fy
Compiling /Users/goyox86/Desktop/code/fancy/boot/compiler/command.fy
Compiling /Users/goyox86/Desktop/code/fancy/boot/compiler/compiler.fy
Compiling /Users/goyox86/Desktop/code/fancy/boot/compiler/stages.fy
Compiling /Users/goyox86/Desktop/code/fancy/boot/parser/methods.fy
Compiling /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/assign.fy
Compiling /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/block.fy
Compiling /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/class_def.fy
Compiling /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/expression_list.fy
Compiling /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/identifier.fy
Compiling /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/literals.fy
Compiling /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/match.fy
Compiling /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/message_send.fy
Compiling /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/method_def.fy
Compiling /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/node.fy
Compiling /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/require.fy
Compiling /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/script.fy
Compiling /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/singleton_method_def.fy
Compiling /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/super.fy
Compiling /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/try_catch.fy
Compiling /Users/goyox86/Desktop/code/fancy/boot/compiler/ast/tuple_literal.fy
rbx /Users/goyox86/Desktop/code/fancy/boot/load.rb /Users/goyox86/Desktop/code/fancy/boot/compile.fy --batch /Users/goyox86/Desktop/code/fancy/lib/argv.fy /Users/goyox86/Desktop/code/fancy/lib/array.fy /Users/goyox86/Desktop/code/fancy/lib/block.fy /Users/goyox86/Desktop/code/fancy/lib/boot.fy /Users/goyox86/Desktop/code/fancy/lib/class.fy /Users/goyox86/Desktop/code/fancy/lib/directory.fy /Users/goyox86/Desktop/code/fancy/lib/documentation.fy /Users/goyox86/Desktop/code/fancy/lib/enumerable.fy /Users/goyox86/Desktop/code/fancy/lib/fancy_spec.fy /Users/goyox86/Desktop/code/fancy/lib/fdoc.fy /Users/goyox86/Desktop/code/fancy/lib/fdoc_hook.fy /Users/goyox86/Desktop/code/fancy/lib/file.fy /Users/goyox86/Desktop/code/fancy/lib/hash.fy /Users/goyox86/Desktop/code/fancy/lib/main.fy /Users/goyox86/Desktop/code/fancy/lib/method.fy /Users/goyox86/Desktop/code/fancy/lib/nil_class.fy /Users/goyox86/Desktop/code/fancy/lib/number.fy /Users/goyox86/Desktop/code/fancy/lib/object.fy /Users/goyox86/Desktop/code/fancy/lib/package.fy /Users/goyox86/Desktop/code/fancy/lib/rbx.fy /Users/goyox86/Desktop/code/fancy/lib/set.fy /Users/goyox86/Desktop/code/fancy/lib/stack.fy /Users/goyox86/Desktop/code/fancy/lib/string.fy /Users/goyox86/Desktop/code/fancy/lib/symbol.fy /Users/goyox86/Desktop/code/fancy/lib/true_class.fy /Users/goyox86/Desktop/code/fancy/lib/version.fy /Users/goyox86/Desktop/code/fancy/lib/package/dependency.fy /Users/goyox86/Desktop/code/fancy/lib/package/installer.fy /Users/goyox86/Desktop/code/fancy/lib/package/specification.fy /Users/goyox86/Desktop/code/fancy/lib/package/uninstaller.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/array.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/bignum.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/block.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/class.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/code_loader.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/console.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/directory.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/documentation.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/environment_variables.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/exception.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/false_class.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/file.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/fixnum.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/float.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/hash.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/io.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/method.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/name_error.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/no_method_error.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/object.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/range.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/regexp.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/string.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/symbol.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/system.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/tcp_server.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/tcp_socket.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/thread.fy /Users/goyox86/Desktop/code/fancy/lib/rbx/tuple.fy
Compiling /Users/goyox86/Desktop/code/fancy/lib/argv.fy
An exception occurred running /Users/goyox86/Desktop/code/fancy/boot/load.rb
Error trying to compile /Users/goyox86/Desktop/code/fancy/lib/argv.fy (Rubinius::CompileError)
Backtrace:
Rubinius::Compiler.compiler_error at /Users/goyox86/.rvm/rubies/rbx-head/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
Fancy::Compiler::Command.run: {} at boot/compiler/command.fy:6
Rubinius::BlockEnvironment#Block {} at rbx/fancy_ext/block_env.rb:18
Array#each: {} at lib/rbx/array.fy:50
Array#each at kernel/bootstrap/array.rb:163
Array#each: at lib/rbx/array.fy:50
Fancy::Compiler::Command.run: at boot/compiler/command.fy:7
main.__script__ at boot/compile.fy:4
Object#fancy_require at boot/load.rb:19
main.__script__ at boot/load.rb:27
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:67
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:91
Rubinius::Loader#script at kernel/loader.rb:429
Rubinius::Loader#main at kernel/loader.rb:521
Rubinius::Loader.main at kernel/loader.rb:558
Object#__script__ at kernel/loader.rb:570
Caused by: no method 'return_stmt' on an instance of Fancy::Parser. (NoMethodError)
Backtrace:
Kernel(Fancy::Parser)#return_stmt (method_missing) at kernel/delta/kernel.rb:85
Fancy::Parser.parse_file:line: at boot/parser/methods.fy:5
Fancy::Compiler::Stages::FancyFileParser#:run at boot/compiler/stages.fy:55
Fancy::Compiler::Stages::Stage(Fancy::Compiler::Stages::FancyFileParser)#Stage {} at boot/compiler/stages.fy:17
Rubinius::Compiler(Fancy::Compiler)#run at /Users/goyox86/.rvm/rubies/rbx-head/lib/compiler/compiler.rbc:115
Fancy::Compiler.compile_file:to:line:print: at boot/compiler/compiler.fy:33
Fancy::Compiler::Command.compile:info:print: at boot/compiler/command.fy:12
Fancy::Compiler::Command.run: {} at boot/compiler/command.fy:6
Rubinius::BlockEnvironment#Block {} at rbx/fancy_ext/block_env.rb:18
Array#each: {} at lib/rbx/array.fy:50
Array#each at kernel/bootstrap/array.rb:163
Array#each: at lib/rbx/array.fy:50
Fancy::Compiler::Command.run: at boot/compiler/command.fy:7
main.__script__ at boot/compile.fy:4
Object#fancy_require at boot/load.rb:19
main.__script__ at boot/load.rb:27
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:67
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:91
Rubinius::Loader#script at kernel/loader.rb:429
Rubinius::Loader#main at kernel/loader.rb:521
Rubinius::Loader.main at kernel/loader.rb:558
Object#__script__ at kernel/loader.rb:570
rake aborted!
Command failed with status (1): [rbx /Users/goyox86/Desktop/code/fancy/boot...]
/Users/goyox86/Desktop/code/fancy/Rakefile:30:in `__script__ {}'
(See full trace by running task with --trace)
Goyox86s-MacBook:fancy goyox86$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment