summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/header.txt11
-rw-r--r--docs/help.txt4
-rw-r--r--docs/pbsc.txt43
-rw-r--r--docs/stats.txt8
-rw-r--r--docs/version.txt2
5 files changed, 55 insertions, 13 deletions
diff --git a/docs/header.txt b/docs/header.txt
index 88c96c2..83638b8 100644
--- a/docs/header.txt
+++ b/docs/header.txt
@@ -1,12 +1,11 @@
File: ${FILE}
-A simple interpreter
+A simple Fype interpreter
-WWW : http://fype.buetow.org
-AUTHOR : http://paul.buetow.org
-E-Mail : fype at dev.buetow.org
+WWW: http://fype.buetow.org
+AUTHOR: http://paul.buetow.org
+E-Mail: fype at dev.buetow.org
-Copyright (c) 2005 - 2009, Dipl.-Inform. (FH) Paul C. Buetow
-All rights reserved.
+The Fype Language; (c) 2005 - 2010 - Dipl.-Inform. (FH) Paul C. Buetow
Redistribution and use in source and binary forms, with or without modi-
fication, are permitted provided that the following conditions are met:
diff --git a/docs/help.txt b/docs/help.txt
index 545eda4..0033293 100644
--- a/docs/help.txt
+++ b/docs/help.txt
@@ -1,5 +1,5 @@
-Fype0 Alpha Build 9669
-(c) Paul C. Buetow (2005 - 2008) <fype@dev.buetow.org>
+Fype2 Alpha Build 10387
+(c) Paul C. Buetow (2005 - 2010) <fype@dev.buetow.org>
-e Executes given code string (see synopses)
-h Prints this help
-s Prints the synopsis
diff --git a/docs/pbsc.txt b/docs/pbsc.txt
new file mode 100644
index 0000000..3a2726c
--- /dev/null
+++ b/docs/pbsc.txt
@@ -0,0 +1,43 @@
+Global Frame
+
+v?: Variables
+p?: Parameters
+b?: Boolean expression (Returns #t or #f)
+t?: Term
+f: Function
+l?: List
+
+(f p1 p2 ...)
+
+(define v1 t1)
+
+(lambda (v1 v2 ...) t1)
+
+(define foo (lambda (v1 v2 ...) t1))
+(define (foo (v1 v2 ...) t1))
+
+(if b1 t1 t2)
+(unless b1 t1 t2)
+(eq? t1 t2)
+(neq? t1 t2)
+(and b1 b2)
+(or b1 b2)
+(xor b1 b2)
+(not b1)
+
+(cond ((b1 t1)
+ (b2 t2)
+ ...
+ (else tn)))
+
+(let ((v1 t1)
+ (v2 t2)
+ ...)
+ t3)
+
+(cons t1 l1)
+(car l1)
+(cdr l1)
+(set-car l1 t1)
+(set-cdr l1 t1)
+(list p1 p2 ...)
diff --git a/docs/stats.txt b/docs/stats.txt
index b44c232..50cbda1 100644
--- a/docs/stats.txt
+++ b/docs/stats.txt
@@ -1,4 +1,4 @@
-===> Num of C source files : 46
-===> Num of C source lines : 8227
-===> Num of Fype source examples : 15
-===> Num of Fype source lines : 376
+===> Num of C source files : 44
+===> Num of C source lines : 5740
+===> Num of Fype source examples : 2
+===> Num of Fype source lines : 18
diff --git a/docs/version.txt b/docs/version.txt
index dd836b0..d2c768b 100644
--- a/docs/version.txt
+++ b/docs/version.txt
@@ -1 +1 @@
-Fype0 Alpha Build 9669
+Fype2 Alpha Build 10387