Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

okk has been renamed to bonsai

  • Loading branch information...
commit 77871a1d5d92b0137461eb06aa5a2b39c19ea1e7 1 parent 040af20
@bakineggs authored
View
6 .gitmodules
@@ -1,3 +1,3 @@
-[submodule "okk"]
- path = okk
- url = git://github.com/bakineggs/okk.git
+[submodule "bonsai"]
+ path = bonsai
+ url = git://github.com/bakineggs/bonsai.git
View
4 Makefile
@@ -1,10 +1,10 @@
interpreter: interpreter.c parser.o lexer.o
gcc -o $@ $^
-interpreter.c: rules.okk .git/index
+interpreter.c: rules.bonsai .git/index
git submodule init
git submodule update
- cd okk; ruby compile.rb ../rules.okk > ../interpreter.c.tmp
+ cd bonsai; ruby compile.rb ../rules.bonsai > ../interpreter.c.tmp
mv interpreter.c.tmp interpreter.c
parser.o: parser.c
View
4 README
@@ -1,4 +1,4 @@
-An implementation of the Challenge Language in Okk
+An implementation of the Challenge Language in Bonsai
-Okk: http://github.com/bakineggs/okk
+Bonsai: http://github.com/bakineggs/bonsai
Challenge: http://fsl.cs.uiuc.edu/images/0/0c/CS422-Spring-2010-CHALLENGE.pdf
1  bonsai
@@ -0,0 +1 @@
+Subproject commit 68925c1cdee1b0a56bb9ae98ba0f2a01925f4455
View
2  lexer.l
@@ -1,5 +1,5 @@
%{
- #include "okk/node_builder.h"
+ #include "bonsai/node_builder.h"
#include "parser.h"
extern int yywrap(void) { }
1  okk
@@ -1 +0,0 @@
-Subproject commit 60237d0061fd4199505395f6952b8447859355f5
View
2  parser.y
@@ -1,6 +1,6 @@
%{
#include <stdio.h>
- #include "okk/node_builder.h"
+ #include "bonsai/node_builder.h"
extern int yylex();
void yyerror(const char* error) { fprintf(stderr, "%s\n", error); }
View
2  rules.okk → rules.bonsai
@@ -7,7 +7,7 @@
# Access our parser
%{
- #include "okk/types.h"
+ #include "bonsai/types.h"
extern int yyparse();
extern Node* computation;
Please sign in to comment.
Something went wrong with that request. Please try again.