Skip to content

Instantly share code, notes, and snippets.

@goyox86
Created November 17, 2010 06:44
Show Gist options
  • Save goyox86/703074 to your computer and use it in GitHub Desktop.
Save goyox86/703074 to your computer and use it in GitHub Desktop.
Goyox86s-MacBook:fancy goyox86$ rake bootstrap
(in /Users/goyox86/Desktop/code/fancy)
mkdir -p /Users/goyox86/Desktop/code/fancy/boot/compiler/parser/ext
cp /Users/goyox86/Desktop/code/fancy/lib/parser/ext/fancy_parser.bundle /Users/goyox86/Desktop/code/fancy/boot/compiler/parser/ext/fancy_parser.bundle
rbx /Users/goyox86/Desktop/code/fancy/boot/load.rb /Users/goyox86/Desktop/code/fancy/boot/compiler/boot.fyc /Users/goyox86/Desktop/code/fancy/boot/compiler/compiler.fyc /Users/goyox86/Desktop/code/fancy/boot/compiler/compiler/command.fyc /Users/goyox86/Desktop/code/fancy/boot/compiler/compile.fyc -- /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/compiler.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/eval.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/parser.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
rbx /Users/goyox86/Desktop/code/fancy/boot/load.rb /Users/goyox86/Desktop/code/fancy/boot/compiler/boot.fyc /Users/goyox86/Desktop/code/fancy/boot/compiler/compiler.fyc /Users/goyox86/Desktop/code/fancy/boot/compiler/compiler/command.fyc /Users/goyox86/Desktop/code/fancy/boot/compiler/compile.fyc -- /Users/goyox86/Desktop/code/fancy/lib/parser/methods.fy
rbx /Users/goyox86/Desktop/code/fancy/boot/load.rb /Users/goyox86/Desktop/code/fancy/boot/compiler/boot.fyc /Users/goyox86/Desktop/code/fancy/boot/compiler/compiler.fyc /Users/goyox86/Desktop/code/fancy/boot/compiler/compiler/command.fyc /Users/goyox86/Desktop/code/fancy/boot/compiler/compile.fyc -- /Users/goyox86/Desktop/code/fancy/lib/compiler/ast.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/command.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/compiler.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/stages.fy
rbx /Users/goyox86/Desktop/code/fancy/boot/load.rb /Users/goyox86/Desktop/code/fancy/boot/compiler/boot.fyc /Users/goyox86/Desktop/code/fancy/boot/compiler/compiler.fyc /Users/goyox86/Desktop/code/fancy/boot/compiler/compiler/command.fyc /Users/goyox86/Desktop/code/fancy/boot/compiler/compile.fyc -- /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/assign.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/block.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/class_def.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/expression_list.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/identifier.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/literals.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/match.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/message_send.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/method_def.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/node.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/range.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/require.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/return.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/script.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/singleton_method_def.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/super.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/try_catch.fy /Users/goyox86/Desktop/code/fancy/lib/compiler/ast/tuple_literal.fy
rbx /Users/goyox86/Desktop/code/fancy/boot/load.rb /Users/goyox86/Desktop/code/fancy/boot/compiler/boot.fyc /Users/goyox86/Desktop/code/fancy/boot/compiler/compiler.fyc /Users/goyox86/Desktop/code/fancy/boot/compiler/compiler/command.fyc /Users/goyox86/Desktop/code/fancy/boot/compiler/compile.fyc -- /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
An exception occurred running /Users/goyox86/Desktop/code/fancy/boot/load.rb
Error trying to compile /Users/goyox86/Desktop/code/fancy/lib/rbx/no_method_error.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/compiler.fy:55
Fancy::Compiler::Command.compile:to:info:print: at boot/compiler/compiler/command.fy:41
Fancy::Compiler::Command.run: {} at boot/compiler/compiler/command.fy:31
Array#each at kernel/bootstrap/array.rb:163
Fancy::Compiler::Command.run: at boot/compiler/compiler/command.fy:31
main.__script__ at boot/compiler/compile.fy:4
Fancy::BootstrapCodeLoader.load_compiled_file at boot/load.rb:48
main.__script__ {} at boot/load.rb:71
Array#each at kernel/bootstrap/array.rb:163
main.__script__ at boot/load.rb:71
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 'if:' on nil:NilClass. (NoMethodError)
Backtrace:
Kernel(NilClass)#if: (method_missing) at kernel/delta/kernel.rb:85
Fancy::AST::MessageSend#bytecode: {} at boot/compiler/compiler/ast/message_send.fy:14
Rubinius::BlockEnvironment#Block {} at boot/fancy_ext/block_env.rb:18
Object(FalseClass)#if_do:else: at boot/compiler/object.fy:71
Fancy::AST::MessageSend#bytecode: at boot/compiler/compiler/ast/message_send.fy:21
Fancy::AST::MessageSend#bytecode: {} at boot/compiler/compiler/ast/message_send.fy:10
Rubinius::BlockEnvironment#Block {} at boot/fancy_ext/block_env.rb:18
Object(FalseClass)#if_do:else: at boot/compiler/object.fy:71
Fancy::AST::MessageSend#bytecode: at boot/compiler/compiler/ast/message_send.fy:21
Fancy::AST::MessageSend#bytecode: {} at boot/compiler/compiler/ast/message_send.fy:10
Rubinius::BlockEnvironment#Block {} at boot/fancy_ext/block_env.rb:18
Object(FalseClass)#if_do:else: at boot/compiler/object.fy:71
Fancy::AST::MessageSend#bytecode: at boot/compiler/compiler/ast/message_send.fy:21
Fancy::AST::ExpressionList#bytecode: {} at boot/compiler/compiler/ast/expression_list.fy:25
Rubinius::BlockEnvironment#Block {} at boot/fancy_ext/block_env.rb:18
Array#each: {} at boot/compiler/rbx/array.fy:50
Array#each at kernel/bootstrap/array.rb:163
Array#each: at boot/compiler/rbx/array.fy:50
Fancy::AST::ExpressionList#bytecode: at boot/compiler/compiler/ast/expression_list.fy:27
Fancy::AST::Node(Fancy::AST::ExpressionList)#Node {} at boot/compiler/compiler/ast/node.fy:4
Rubinius::AST::Define(Fancy::AST::MethodDef)#compile_body at /Users/goyox86/.rvm/rubies/rbx-head/lib/compiler/ast/definitions.rbc:210
Rubinius::AST::Define(Fancy::AST::MethodDef)#bytecode at /Users/goyox86/.rvm/rubies/rbx-head/lib/compiler/ast/definitions.rbc:229
Fancy::AST::MethodDef#bytecode: at boot/compiler/compiler/ast/method_def.fy:35
Fancy::AST::ExpressionList#bytecode: {} at boot/compiler/compiler/ast/expression_list.fy:25
Rubinius::BlockEnvironment#Block {} at boot/fancy_ext/block_env.rb:18
Array#each: {} at boot/compiler/rbx/array.fy:50
Array#each at kernel/bootstrap/array.rb:163
Array#each: at boot/compiler/rbx/array.fy:50
Fancy::AST::ExpressionList#bytecode: at boot/compiler/compiler/ast/expression_list.fy:27
Fancy::AST::Node(Fancy::AST::ExpressionList)#Node {} at boot/compiler/compiler/ast/node.fy:4
Rubinius::AST::ClosedScope(Rubinius::AST::ClassScope)#attach_and_call at /Users/goyox86/.rvm/rubies/rbx-head/lib/compiler/ast/definitions.rbc:154
Rubinius::AST::ClassScope#bytecode at /Users/goyox86/.rvm/rubies/rbx-head/lib/compiler/ast/definitions.rbc:493
Rubinius::AST::Class(Fancy::AST::ClassDef)#bytecode at /Users/goyox86/.rvm/rubies/rbx-head/lib/compiler/ast/definitions.rbc:470
Fancy::AST::ClassDef#bytecode: at boot/compiler/compiler/ast/class_def.fy:21
Fancy::AST::ExpressionList#bytecode: {} at boot/compiler/compiler/ast/expression_list.fy:25
Rubinius::BlockEnvironment#Block {} at boot/fancy_ext/block_env.rb:18
Array#each: {} at boot/compiler/rbx/array.fy:50
Array#each at kernel/bootstrap/array.rb:163
Array#each: at boot/compiler/rbx/array.fy:50
Fancy::AST::ExpressionList#bytecode: at boot/compiler/compiler/ast/expression_list.fy:27
Fancy::AST::Script#bytecode: at boot/compiler/compiler/ast/script.fy:9
Fancy::AST::Node(Fancy::AST::Script)#Node {} at boot/compiler/compiler/ast/node.fy:4
Rubinius::AST::Script#bytecode {} at /Users/goyox86/.rvm/rubies/rbx-head/lib/compiler/ast/definitions.rbc:864
Rubinius::AST::Container(Rubinius::AST::Script)#container_bytecode at /Users/goyox86/.rvm/rubies/rbx-head/lib/compiler/ast/definitions.rbc:757
Rubinius::AST::Script#bytecode at /Users/goyox86/.rvm/rubies/rbx-head/lib/compiler/ast/definitions.rbc:862
Fancy::Compiler::Stages::FancyGenerator#:run at boot/compiler/compiler/stages.fy:37
Fancy::Compiler::Stages::Stage(Fancy::Compiler::Stages::FancyGenerator)#Stage {} at boot/compiler/compiler/stages.fy:17
Rubinius::Compiler::Stage(Fancy::Compiler::Stages::FancyFileParser)#run_next at /Users/goyox86/.rvm/rubies/rbx-head/lib/compiler/stages.rbc:51
Fancy::Compiler::Stages::Stage(Fancy::Compiler::Stages::FancyFileParser)#Stage {} at boot/compiler/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/compiler.fy:53
Fancy::Compiler::Command.compile:to:info:print: at boot/compiler/compiler/command.fy:41
Fancy::Compiler::Command.run: {} at boot/compiler/compiler/command.fy:31
Array#each at kernel/bootstrap/array.rb:163
Fancy::Compiler::Command.run: at boot/compiler/compiler/command.fy:31
main.__script__ at boot/compiler/compile.fy:4
Fancy::BootstrapCodeLoader.load_compiled_file at boot/load.rb:48
main.__script__ {} at boot/load.rb:71
Array#each at kernel/bootstrap/array.rb:163
main.__script__ at boot/load.rb:71
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:88: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