Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

PROMAL

< >

PROMAL is a programming language created in 1986.

#1556on PLDB 38Years Old
Wikipedia

PROMAL (PROgrammer's Microapplication Language) is a structured programming language from Systems Management Associates for MS-DOS, Commodore 64, and Apple II. PROMAL features simple syntax, no line numbers, long variable names, functions and procedures with argument passing, real number type, arrays, strings, pointer, and a built-in I/O library. Like ABC and Python, indentation is part of the language syntax. Read more on Wikipedia...


Example from Wikipedia:
PROGRAM SIEVE ; Sieve of Eratosthenes Benchmark ; test (BYTE magazine) ; 10 iterations, 1800 element array. INCLUDE LIBRARY CON SIZE=1800 WORD I WORD J WORD PRIME WORD K WORD COUNT BYTE FLAGS[SIZE] BEGIN OUTPUT "10 ITERATIONS" FOR J= 1 TO 10 COUNT=0 FILL FLAGS, SIZE, TRUE FOR I= 0 TO SIZE IF FLAGS[I] PRIME=I+I+3 K=I+PRIME WHILE K <= SIZE FLAGS[K]=FALSE K=K+PRIME COUNT=COUNT+1 OUTPUT "#C#I PRIMES", COUNT END

Language features

Feature Supported Example Token
Booleans ✓ TRUE FALSE
Comments ✓ ; A comment
Line Comments ✓ ; A comment ;
Semantic Indentation ✓

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v154.3.0