Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
PASL
Edit
PageHistory
Diff
Info
LikePages
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. PASL stands for the Painfully Archaic Stupid Language. 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. Here's some example code. <pre> 10 lbl 1 20 inp 30 inp 40 mul .10010 .10020 50 cpy .10040 .8001 60 div .10040 .10020 70 cpy .10060 .8002 80 add .10040 .10020 90 cpy .10080 .8003 91 wri .50 72 95 cop .50 100 nop .50 110 inp 120 inp 140 pow .10110 .10120 150 cpy .10140 .8004 160 clr .8100 .8105 170 log .10120 175 cpy .10120 .8004 180 inc .10120 185 cpy .10120 .8005 190 dec .10120 195 cpy .10120 .8006 200 acs .10120 210 atn .10120 220 cos .10120 230 exp .10120 240 abs .10120 250 asn .10120 260 at2 .10120 .10110 270 csh .10120 280 hyp .10120 .10110 290 sqr .10120 310 l10 .10120 320 sin .10120 330 snh .10120 340 tan .10120 350 tnh .10120 360 dmp new.txt .8000 .8010 365 dmp newer.txt .10170 .10350 382 wri .65 10 385 lbl 42 386 inc .70 390 neq .70 .65 42 400 nop .69 .71 420 esc </pre> In yet another fit of boredom, GianPerrone created [Aym]. This time, he actually gets marks for it though.
4 pages link to
PASL
:
TooMuchTimeOnYourHands
pasl(1)
C++
SamJansen