Annotated edit history of
PASL version 5, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
GianPerrone |
1 |
PASL is a language GianPerrone made one day while he was bored. It looks a bit like assembler, but a little nastier. There are no literals at all. |
3 |
GianPerrone |
2 |
|
|
|
3 |
PASL stands for the Painfully Archaic Stupid Language. |
|
|
4 |
|
|
|
5 |
You can download it at http://home.devlocus.org/~gian/pasl-0.7.tar.gz if you are so inclined. It is an automake standard setup, so just do the old ./configure make make install jobby. |
1 |
GianPerrone |
6 |
|
|
|
7 |
Here's some example code. |
|
|
8 |
|
5 |
CraigBox |
9 |
<pre> |
2 |
CraigBox |
10 |
10 lbl 1 |
|
|
11 |
20 inp |
|
|
12 |
30 inp |
|
|
13 |
40 mul .10010 .10020 |
|
|
14 |
50 cpy .10040 .8001 |
|
|
15 |
60 div .10040 .10020 |
|
|
16 |
70 cpy .10060 .8002 |
|
|
17 |
80 add .10040 .10020 |
|
|
18 |
90 cpy .10080 .8003 |
|
|
19 |
91 wri .50 72 |
|
|
20 |
95 cop .50 |
|
|
21 |
100 nop .50 |
|
|
22 |
110 inp |
|
|
23 |
120 inp |
|
|
24 |
140 pow .10110 .10120 |
|
|
25 |
150 cpy .10140 .8004 |
|
|
26 |
160 clr .8100 .8105 |
|
|
27 |
170 log .10120 |
|
|
28 |
175 cpy .10120 .8004 |
|
|
29 |
180 inc .10120 |
|
|
30 |
185 cpy .10120 .8005 |
|
|
31 |
190 dec .10120 |
|
|
32 |
195 cpy .10120 .8006 |
|
|
33 |
200 acs .10120 |
|
|
34 |
210 atn .10120 |
|
|
35 |
220 cos .10120 |
|
|
36 |
230 exp .10120 |
|
|
37 |
240 abs .10120 |
|
|
38 |
250 asn .10120 |
|
|
39 |
260 at2 .10120 .10110 |
|
|
40 |
270 csh .10120 |
|
|
41 |
280 hyp .10120 .10110 |
|
|
42 |
290 sqr .10120 |
|
|
43 |
310 l10 .10120 |
|
|
44 |
320 sin .10120 |
|
|
45 |
330 snh .10120 |
|
|
46 |
340 tan .10120 |
|
|
47 |
350 tnh .10120 |
|
|
48 |
360 dmp new.txt .8000 .8010 |
|
|
49 |
365 dmp newer.txt .10170 .10350 |
|
|
50 |
382 wri .65 10 |
|
|
51 |
385 lbl 42 |
|
|
52 |
386 inc .70 |
|
|
53 |
390 neq .70 .65 42 |
|
|
54 |
400 nop .69 .71 |
|
|
55 |
420 esc |
5 |
CraigBox |
56 |
</pre> |
4 |
GianPerrone |
57 |
|
|
|
58 |
In yet another fit of boredom, GianPerrone created [Aym]. This time, he actually gets marks for it though. |