diff options
| author | Paul Buetow <paul@buetow.org> | 2008-11-05 20:47:38 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-11-05 20:47:38 +0000 |
| commit | fbff89d91c2a13155423bd83d2bbefd5d6891e23 (patch) | |
| tree | f470156c455abe95803f4824ecf0a0bca43571c4 | |
| parent | 7575536c805e379b009630947e72f636c006751f (diff) | |
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | docs/help.txt | 2 | ||||
| -rw-r--r-- | docs/stats.txt | 2 | ||||
| -rw-r--r-- | docs/version.txt | 2 | ||||
| -rwxr-xr-x | fype | bin | 455007 -> 455135 bytes | |||
| -rw-r--r-- | src/build.h | 2 | ||||
| -rw-r--r-- | src/core/interpret.c | 6 | ||||
| -rw-r--r-- | tmp/test.fy | 2 | ||||
| -rw-r--r-- | tmp/test.out | 10 |
9 files changed, 8 insertions, 20 deletions
@@ -112,5 +112,3 @@ deinstall: uninstall: deinstall pod: @cd ./docs/pod; make clean all -sess: - vim -S Session.vim diff --git a/docs/help.txt b/docs/help.txt index d7a5530..821034c 100644 --- a/docs/help.txt +++ b/docs/help.txt @@ -1,4 +1,4 @@ -Fype v0.1-devel Build 9348 +Fype v0.1-devel Build 9363 (c) Paul C. Buetow (2005 - 2008) <fype@dev.buetow.org> -e Executes given code string (see synopses) -h Prints this help diff --git a/docs/stats.txt b/docs/stats.txt index 5172f37..4d2b190 100644 --- a/docs/stats.txt +++ b/docs/stats.txt @@ -1,4 +1,4 @@ ===> Num of C source files : 44 -===> Num of C source lines : 7995 +===> Num of C source lines : 7993 ===> Num of Fype source examples : 14 ===> Num of Fype source lines : 362 diff --git a/docs/version.txt b/docs/version.txt index 180a0b9..2dac819 100644 --- a/docs/version.txt +++ b/docs/version.txt @@ -1 +1 @@ -Fype v0.1-devel Build 9348 +Fype v0.1-devel Build 9363 Binary files differdiff --git a/src/build.h b/src/build.h index a313b8c..0fecd98 100644 --- a/src/build.h +++ b/src/build.h @@ -35,7 +35,7 @@ #ifndef BUILD_H #define BUILD_H -#define BUILDNR 9362 +#define BUILDNR 9375 #define OS_FREEBSD #endif diff --git a/src/core/interpret.c b/src/core/interpret.c index c6b66de..67ebc22 100644 --- a/src/core/interpret.c +++ b/src/core/interpret.c @@ -984,18 +984,16 @@ _term(Interpret *p_interpret) { break; */ - /* case TT_PARANT_AL: { Token *p_token = p_interpret->p_token; _NEXT + _INTERPRET_ERROR("arrays not yet fully implemented", p_token); Token *p_token_arr = token_new_array(ARRAY_SIZE); - stack_push(p_interpret->p_stack, p_token_arr); - _INTERPRET_ERROR("arrays not yet fully implemented", p_token_arr); + //stack_push(p_interpret->p_stack, p_token_arr); } break; - */ case TT_PARANT_L: { diff --git a/tmp/test.fy b/tmp/test.fy index 8fe78a1..e91b86d 100644 --- a/tmp/test.fy +++ b/tmp/test.fy @@ -3,4 +3,4 @@ *# my foo = 1, bar = 2; -my arr = [foo bar]; +my baz = [foo, bar]; diff --git a/tmp/test.out b/tmp/test.out index 79fda72..e91b86d 100644 --- a/tmp/test.out +++ b/tmp/test.out @@ -3,12 +3,4 @@ *# my foo = 1, bar = 2; -Token (id=00000, line=00005, pos=0003, type=TT_MY, val=my, ival=0, dval=0.000000, refs=1) -Token (id=00001, line=00005, pos=0007, type=TT_IDENT, val=foo, ival=0, dval=0.000000, refs=1) -Token (id=00002, line=00005, pos=0009, type=TT_ASSIGN, val==, ival=0, dval=0.000000, refs=1) -Token (id=00003, line=00005, pos=0011, type=TT_INTEGER, val=1, ival=1, dval=0.000000, refs=1) -Token (id=00004, line=00005, pos=0012, type=TT_COMMA, val=,, ival=0, dval=0.000000, refs=1) -Token (id=00005, line=00005, pos=0016, type=TT_IDENT, val=bar, ival=0, dval=0.000000, refs=1) -Token (id=00006, line=00005, pos=0018, type=TT_ASSIGN, val==, ival=0, dval=0.000000, refs=1) -Token (id=00007, line=00005, pos=0020, type=TT_INTEGER, val=2, ival=2, dval=0.000000, refs=1) -Token (id=00008, line=00005, pos=0021, type=TT_SEMICOLON, val=;, ival=0, dval=0.000000, refs=1) +my baz = [foo, bar]; |
