Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c11f3f3

Browse files
Ready for Release 0.31.1
1 parent e3acea9 commit c11f3f3

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

‎README.md‎

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ Method:
1818

1919
* Run `nmake /f Makefile.nmake` and locate generated `psc.exe`
2020

21+
* (Optional) Use `pscexamples.exe` to generate `pscexamples.js`
22+
2123
## Building under Linux
2224

2325
Prerequisites:
@@ -32,6 +34,8 @@ Method:
3234

3335
* Run `make` to generate `psc`
3436

37+
* (Optional) Use `./pscexamples` to generate `pscexamples.js`
38+
3539
## Running the compiler
3640

3741
Simply run `psc.exe` or `./psc` in a console/command prompt window to read from the keyboard and output to the console, redirections using `<` and `>` work equally well too. (Note: to end input under Linux use `Ctrl-D`, under Windows `Ctrl-Z` followed by `Enter`.) See the example programs in the `progs` directory.
@@ -64,13 +68,15 @@ The minimum setup under Debian/Ubuntu is:
6468
```
6569
$ sudo apt install apache2
6670
$ sudo a2enmod cgi
71+
$ sudo cp pscweb.* /var/www/html/
72+
$ sudo cp psc /usr/lib/cgi-bin/
6773
```
6874

6975
(Possibly with `sudo a2ensite ...` and restarting the `apache2` service too.) See your individual distro's documentation for how to install and set up a webserver.
7076

71-
Windows needs Internet Information Services (IIS) Manager to be enabled and set up together with a permissions rule for the executable binary, see documentation for your version of Windows (tested under Windows 10). Note that **some editing of `pscweb.html` is necessary**: `/cgi-bin/psc?` needs to be changed to `./psc.exe?` (note the `.`), assuming that the utility is located in the same directory as the web-page.
77+
Windows needs Internet Information Services (IIS) Manager to be enabled and set up together with a permissions rule for the executable binary, see documentation for your version of Windows (tested under Windows 10). Note that **some editing of `pscweb.js` is necessary in function run()**: `/cgi-bin/psc?` needs to be changed to `./psc.exe?` (note the `.`), this is assuming that the utility is located in the same directory as the web-page.
7278

73-
Note that inputs to the running program have to be entered into the text field bottom-left **before** the program is run, these being separated by commas. Also the user is prompted to clear the output window when it is full. These are the only significant difference to running the Javascript in a console window.
79+
Note that inputs to the running program have to be entered into the text field bottom-right **before** the program is run, these being separated by commas. Also the user is prompted to clear the output window when it is full. These are the only significant differences to running the Javascript in a console window.
7480

7581
## License
7682

@@ -86,4 +92,6 @@ Pseudocode Specification as an unrestricted download from the AQA website:
8692

8793
https://filestore.aqa.org.uk/resources/computing/AQA-8525-NG-PC.PDF
8894

89-
Note that the only deliberate change from the specification is for `SUBROUTINE` parameters needing to be followed by `: Type` (as for `RECORD` fields), but not where the `SUBROUTINE` is called with arguments.
95+
Note that the only deliberate change from the specification is for `SUBROUTINE` parameters needing to be followed by `: Type` (as for `RECORD` fields), but not where the `SUBROUTINE` is called with arguments.
96+
97+
**Update:** Compound assignment of `RECORD`s now appears in the specification above, as does `OUTPUT`ing of a comma-separated list of `StringExp`s. Support for both of these is anticipated in a future release.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /