Skip to content

Commit f5970f7

Browse files
committed
Bump version
1 parent cbabaef commit f5970f7

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.16)
33
set(CMAKE_CXX_STANDARD 20)
44
set(CMAKE_CXX_STANDARD_REQUIRED True)
55

6-
project(PseudoEngine2 VERSION 1.0.0)
6+
project(PseudoEngine2 VERSION 1.0.1)
77

88
configure_file(PsConfig.h.in PsConfig.h)
99
add_executable(PseudoEngine2)

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PseudoEngine 2
22

3-
A pseudocode interpreter designed to be compatible with the Cambridge IGCSE and A level pseudocode [syntax](./Syntax.md)
3+
A pseudocode interpreter designed to be compatible with the Cambridge IGCSE and A level [pseudocode syntax](./Syntax.md)
44

55
![Demo](./HelloWorld.gif)
66

@@ -37,14 +37,12 @@ OUTPUT "Hello World!"
3737
Run it with `RUNFILE hello.pseudo` \
3838
Example output:
3939
```
40-
PseudoEngine2 v1.0.0 REPL
41-
Enter 'EXIT' to quit
4240
> RUNFILE hello.pseudo
43-
Running file hello.pseudo
41+
==> Running file 'hello.pseudo'
4442
Hello World!
4543
46-
Program exited successfully
47-
>
44+
==> Program exited successfully
45+
>
4846
```
4947
> Tip:
5048
> The program must be stored in the _same folder_ as the executable **or** the full path of the program has to be mentioned when using `RUNFILE`

Syntax.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ myArray[index]
4242
```
4343
Multi-dimensional array:
4444
```
45-
myArray[index1, index2, ...]
45+
myArray[index1, index2, ..., indexn]
4646
```
4747

4848
## Variable assignment
@@ -54,7 +54,7 @@ Assigning to an undefined variable will define and initialise it to the value as
5454
### Assigning to array element
5555
```
5656
myArray[index] <- <value>
57-
myArray[index1, index2, ...] <- <value>
57+
my3dArray[index1, index2, index3] <- <value>
5858
```
5959

6060
## Constants
@@ -224,7 +224,9 @@ ENDPROCEDURE
224224
No parameters:
225225
```
226226
CALL <procedureName>
227+
```
227228
OR
229+
```
228230
CALL <procedureName>()
229231
```
230232

@@ -426,7 +428,7 @@ PUTRECORD <filename>, <variable>
426428
CLOSEFILE <filename>
427429
```
428430

429-
## Other features(outside cambridge format)
431+
## Features outside cambridge syntax
430432
- `BREAK` - Break out of loops early
431433
- `CONTINUE` - Skip to next iteration of loop
432434
- `ELSE IF` - Alternative to reduce nesting

0 commit comments

Comments
 (0)