diff options
| author | Paul Buetow <paul@buetow.org> | 2009-10-30 15:21:41 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2009-10-30 15:21:41 +0000 |
| commit | d02a747ee8d7c1347a3bb2be2517ac280a55b97d (patch) | |
| tree | 602cec01b39390c005f8b788a46ebd1d762394bd | |
| parent | a19e7caed9e54b3e601f32617c909f856dfec265 (diff) | |
| -rw-r--r-- | docs/help.txt | 2 | ||||
| -rw-r--r-- | docs/stats.txt | 6 | ||||
| -rw-r--r-- | docs/version.txt | 2 | ||||
| -rw-r--r-- | examples/assert.fy | 14 | ||||
| -rwxr-xr-x | fype | bin | 526969 -> 526969 bytes | |||
| -rw-r--r-- | src/build.h | 2 |
6 files changed, 20 insertions, 6 deletions
diff --git a/docs/help.txt b/docs/help.txt index be79117..1a51272 100644 --- a/docs/help.txt +++ b/docs/help.txt @@ -1,4 +1,4 @@ -Fype Superalpha Build 9667 +Fype Superalpha Build 9668 (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 44d1b38..a4fbb65 100644 --- a/docs/stats.txt +++ b/docs/stats.txt @@ -1,4 +1,4 @@ ===> Num of C source files : 46 -===> Num of C source lines : 8225 -===> Num of Fype source examples : 14 -===> Num of Fype source lines : 362 +===> Num of C source lines : 8227 +===> Num of Fype source examples : 15 +===> Num of Fype source lines : 376 diff --git a/docs/version.txt b/docs/version.txt index 439f620..c269987 100644 --- a/docs/version.txt +++ b/docs/version.txt @@ -1 +1 @@ -Fype Superalpha Build 9667 +Fype Superalpha Build 9668 diff --git a/examples/assert.fy b/examples/assert.fy new file mode 100644 index 0000000..d9871f5 --- /dev/null +++ b/examples/assert.fy @@ -0,0 +1,14 @@ +#* + * Examples of how to use asserts + *# + +# The built in function assert checks if a condition evaluates to true +# and aborts the interpreter if it evaluates to false. + +# Evaluates to true +assert 0 == 0 +assert 6 == 2 * 3 + +# Evaluates to false +# assert 1 == 0 + Binary files differdiff --git a/src/build.h b/src/build.h index a076a40..30e43f1 100644 --- a/src/build.h +++ b/src/build.h @@ -36,7 +36,7 @@ #ifndef BUILD_H #define BUILD_H -#define BUILDNR 9667 +#define BUILDNR 9668 #define OS_FREEBSD #endif |
