Added DefaultParser
This commit is contained in:
@@ -17,4 +17,23 @@ def concept a is a number as :
|
||||
|
||||
--> adds concept a is a number
|
||||
--> add the pre condition to the concept a plus b
|
||||
```
|
||||
|
||||
# Define a new concept in one line
|
||||
```
|
||||
def concept words
|
||||
def concept words [where whereclause] [as expression] [pre precond] [post postcond]
|
||||
```
|
||||
|
||||
# Define a complicated concept
|
||||
```
|
||||
def concept
|
||||
as:
|
||||
...
|
||||
where:
|
||||
...
|
||||
pre:
|
||||
...
|
||||
post:
|
||||
...
|
||||
```
|
||||
Reference in New Issue
Block a user