From a62098eabb8d2fab97e6eed035d7a0661b01ea7b Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 26 Aug 2008 08:17:55 +0000 Subject: added v0.1 branch --- INSTALL | 11 +++++++++++ NEW | 3 --- docs/help.txt | 2 +- docs/stats.txt | 6 +++--- docs/version.txt | 2 +- src/build.h | 2 +- src/defines.h | 4 ++-- tmp/test.out | 18 ++---------------- 8 files changed, 21 insertions(+), 27 deletions(-) create mode 100644 INSTALL diff --git a/INSTALL b/INSTALL new file mode 100644 index 0000000..669dabf --- /dev/null +++ b/INSTALL @@ -0,0 +1,11 @@ +How to install fype: + + make + sudo make install + make clean + +How to read the docu: + + man fype + +Examples can be found in the ./examples directory. diff --git a/NEW b/NEW index 9305f98..e69de29 100644 --- a/NEW +++ b/NEW @@ -1,3 +0,0 @@ -Undocumented new features: - undef keyword - bitwise ops diff --git a/docs/help.txt b/docs/help.txt index 987ab7d..e676e64 100644 --- a/docs/help.txt +++ b/docs/help.txt @@ -1,4 +1,4 @@ -Fype v0.0-devel Build 9199 +Fype v0.0-devel Build 9201 Copyright by Paul C. Buetow (2005 - 2008) -e Executes given code string (see synopses) -h Prints this help diff --git a/docs/stats.txt b/docs/stats.txt index d6ec4b2..b49fcc8 100644 --- a/docs/stats.txt +++ b/docs/stats.txt @@ -1,4 +1,4 @@ ===> Num of C source files : 42 -===> Num of C source lines : 7448 -===> Num of Fype source examples : 14 -===> Num of Fype source lines : 353 +===> Num of C source lines : 7460 +===> Num of Fype source examples : 13 +===> Num of Fype source lines : 321 diff --git a/docs/version.txt b/docs/version.txt index bea7532..fb83624 100644 --- a/docs/version.txt +++ b/docs/version.txt @@ -1 +1 @@ -Fype v0.0-devel Build 9199 +Fype v0.0-devel Build 9201 diff --git a/src/build.h b/src/build.h index 5da306c..3955c32 100644 --- a/src/build.h +++ b/src/build.h @@ -35,7 +35,7 @@ #ifndef BUILD_H #define BUILD_H -#define BUILDNR 9200 +#define BUILDNR 9203 #define OS_FREEBSD #endif diff --git a/src/defines.h b/src/defines.h index a7eabd7..bfed1ae 100644 --- a/src/defines.h +++ b/src/defines.h @@ -53,8 +53,8 @@ #define ASSEMBLER "yasm" #define LINKER "cc" #define SCANNER_BUFSIZE 512 -#define URL "" -#define VERSION "v0.0-devel Build" +#define URL "" +#define VERSION "v0.3-devel Build" diff --git a/tmp/test.out b/tmp/test.out index 1cd7e60..afe2cec 100644 --- a/tmp/test.out +++ b/tmp/test.out @@ -1,17 +1,3 @@ -arr foo = [1, 2.2, "3"]; -say foo; -Token (id=00000, line=00002, pos=0004, type=TT_ARR, val=arr, ival=0, dval=0.000000, refs=1) -Token (id=00001, line=00002, pos=0008, type=TT_IDENT, val=foo, ival=0, dval=0.000000, refs=1) -Token (id=00002, line=00002, pos=0010, type=TT_ASSIGN, val==, ival=0, dval=0.000000, refs=1) -Token (id=00003, line=00002, pos=0012, type=TT_PARANT_AL, val=[, ival=0, dval=0.000000, refs=1) -Token (id=00004, line=00002, pos=0013, type=TT_INTEGER, val=1, ival=1, dval=0.000000, refs=1) -Token (id=00005, line=00002, pos=0014, type=TT_COMMA, val=,, ival=0, dval=0.000000, refs=1) -Token (id=00008, line=00002, pos=0018, type=TT_DOUBLE, val=2.2, ival=2, dval=2.200000, refs=1) -Token (id=00009, line=00002, pos=0019, type=TT_COMMA, val=,, ival=0, dval=0.000000, refs=1) -Token (id=00010, line=00002, pos=0020, type=TT_STRING, val=3, ival=0, dval=0.000000, refs=1) -Token (id=00011, line=00002, pos=0022, type=TT_PARANT_AR, val=], ival=0, dval=0.000000, refs=1) -Token (id=00012, line=00002, pos=0023, type=TT_SEMICOLON, val=;, ival=0, dval=0.000000, refs=1) -Token (id=00013, line=00003, pos=0004, type=TT_IDENT, val=say, ival=0, dval=0.000000, refs=1) -Token (id=00014, line=00003, pos=0008, type=TT_IDENT, val=foo, ival=0, dval=0.000000, refs=1) -Token (id=00015, line=00003, pos=0009, type=TT_SEMICOLON, val=;, ival=0, dval=0.000000, refs=1) + +my foo = [1, 2.2, "3"]; -- cgit v1.2.3