Skip to content

Instantly share code, notes, and snippets.

@bakkdoor
Created November 16, 2010 18:59
Show Gist options
  • Save bakkdoor/702276 to your computer and use it in GitHub Desktop.
Save bakkdoor/702276 to your computer and use it in GitHub Desktop.
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-lang/lib/file.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/compiler.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/rbx.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/parser.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/nil_class.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/fdoc_hook.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/package.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/method.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/documentation.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/true_class.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/argv.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/stack.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/string.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/array.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/class.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/block.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/symbol.fy /home/bakkdoor/projekte/fancy/fancy-lang/lib/boot.fy
An exception occurred running /home/bakkdoor/projekte/fancy/fancy-lang/boot/load.rb
Error trying to compile /home/bakkdoor/projekte/fancy/fancy-lang/lib/documentation.fy (Rubinius::CompileError)
Backtrace:
Rubinius::Compiler.compiler_error at /home/bakkdoor/.rvm/rubies/rbx-head/lib/compiler/compiler.rbc:11
Fancy::Compiler.compile_file:to:line:print: at boot/compiler/compiler/compiler.fy:35
Fancy::Compiler::Command.compile:to:info:print: at boot/compiler/compiler/command.fy:41
{ } in Fancy::Compiler::Command.run: at boot/compiler/compiler/command.fy:31
Array#each at kernel/bootstrap/array.rb:66
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
{ } in main.__script__ at boot/load.rb:71
Array#each at kernel/bootstrap/array.rb:66
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:494
Rubinius::Loader#main at kernel/loader.rb:591
Rubinius::Loader.main at kernel/loader.rb:630
Object#__script__ at kernel/loader.rb:641
Caused by: undefined method `if:' on nil:NilClass. (NoMethodError)
Backtrace:
Kernel(NilClass)#if: (method_missing) at kernel/delta/kernel.rb:85
{ } in Fancy::AST::MessageSend#bytecode: at boot/compiler/compiler/ast/message_send.fy:14
{ } in 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
{ } in Fancy::AST::ExpressionList#bytecode: at boot/compiler/compiler/ast/expression_list.fy:25
{ } in Rubinius::BlockEnvironment#Block at boot/fancy_ext/block_env.rb:18
{ } in Array#each: at boot/compiler/rbx/array.fy:50
Array#each at kernel/bootstrap/array.rb:66
Array#each: at boot/compiler/rbx/array.fy:50
Fancy::AST::ExpressionList#bytecode: at boot/compiler/compiler/ast/expression_list.fy:27
{ } in 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 /home/bakkdoor/.rvm/rubies/rbx-head/lib/compiler/ast/definitions.rbc:154
Rubinius::AST::ClassScope#bytecode at /home/bakkdoor/.rvm/rubies/rbx-head/lib/compiler/ast/definitions.rbc:499
Rubinius::AST::Class(Fancy::AST::ClassDef)#bytecode at /home/bakkdoor/.rvm/rubies/rbx-head/lib/compiler/ast/definitions.rbc:476
Fancy::AST::ClassDef#bytecode: at boot/compiler/compiler/ast/class_def.fy:21
{ } in Fancy::AST::ExpressionList#bytecode: at boot/compiler/compiler/ast/expression_list.fy:25
{ } in Rubinius::BlockEnvironment#Block at boot/fancy_ext/block_env.rb:18
{ } in Array#each: at boot/compiler/rbx/array.fy:50
Array#each at kernel/bootstrap/array.rb:66
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
{ } in Fancy::AST::Node(Fancy::AST::Script)#Node at boot/compiler/compiler/ast/node.fy:4
{ } in Rubinius::AST::Script#bytecode at /home/bakkdoor/.rvm/rubies/rbx-head/lib/compiler/ast/definitions.rbc:870
Rubinius::AST::Container(Rubinius::AST::Script)#container_bytecode at /home/bakkdoor/.rvm/rubies/rbx-head/lib/compiler/ast/definitions.rbc:763
Rubinius::AST::Script#bytecode at /home/bakkdoor/.rvm/rubies/rbx-head/lib/compiler/ast/definitions.rbc:868
Fancy::Compiler::Stages::FancyGenerator#:run at boot/compiler/compiler/stages.fy:37
{ } in 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 /home/bakkdoor/.rvm/rubies/rbx-head/lib/compiler/stages.rbc:51
{ } in Fancy::Compiler::Stages::Stage(Fancy::Compiler::Stages::FancyFileParser)#Stage at boot/compiler/compiler/stages.fy:17
Rubinius::Compiler(Fancy::Compiler)#run at /home/bakkdoor/.rvm/rubies/rbx-head/lib/compiler/compiler.rbc:286
Fancy::Compiler.compile_file:to:line:print: at boot/compiler/compiler/compiler.fy:33
Fancy::Compiler::Command.compile:to:info:print: at boot/compiler/compiler/command.fy:41
{ } in Fancy::Compiler::Command.run: at boot/compiler/compiler/command.fy:31
Array#each at kernel/bootstrap/array.rb:66
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
{ } in main.__script__ at boot/load.rb:71
Array#each at kernel/bootstrap/array.rb:66
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:494
Rubinius::Loader#main at kernel/loader.rb:591
Rubinius::Loader.main at kernel/loader.rb:630
Object#__script__ at kernel/loader.rb:641
rake aborted!
Command failed with status (1): [rbx /home/bakkdoor/projekte/fancy/fancy-la...]
/home/bakkdoor/projekte/fancy/fancy-lang/Rakefile:89:in `__script__'
(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