Skip to content

Commit

Permalink
Don't pollute global syml/ with our data
Browse files Browse the repository at this point in the history
  • Loading branch information
sorear committed Jul 7, 2010
1 parent 68a676c commit ee41c0d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -2,3 +2,4 @@ Kernel.exe
Program.cs
*.swp
*.pmc
syml
2 changes: 1 addition & 1 deletion CompilerDriver.pm
Expand Up @@ -9,4 +9,4 @@ use Op ();
use Niecza::Grammar ();
use Niecza::Actions ();

Niecza::Grammar->parsefile("setting", actions => 'Niecza::Actions')->{_ast}->write;
Niecza::Grammar->parsefile("setting", setting => 'NULL', actions => 'Niecza::Actions')->{_ast}->write;
5 changes: 2 additions & 3 deletions Makefile
@@ -1,10 +1,9 @@
STDBASE=/usr/local/src/pugs/src/perl6
STDENV=PERL5LIB=$(STDBASE) PERL6LIB=$(STDBASE):$(STDBASE)/lib \
STD5PREFIX=$(STDBASE)/
STDENV=PERL5LIB=$(STDBASE) PERL6LIB=$(STDBASE):$(STDBASE)/lib

all: Niecza/Grammar.pmc
$(STDENV) perl CompilerDriver.pm > Program.cs
gmcs /target:exe Kernel.cs Program.cs

Niecza/Grammar.pmc: Niecza/Grammar.pm6
$(STDENV) $(STDBASE)/viv -5 -o Niecza/Grammar.pmc Niecza/Grammar.pm6
STD5PREFIX=$(STDBASE)/ $(STDENV) $(STDBASE)/viv -5 -o Niecza/Grammar.pmc Niecza/Grammar.pm6

0 comments on commit ee41c0d

Please sign in to comment.