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

Karel

< >

Karel is a programming language created in 1981 by Richard E. Pattis.

#833on PLDB 43Years Old
Wikipedia

Karel is an educational programming language for beginners, created by Richard E. Pattis in his book Karel The Robot: A Gentle Introduction to the Art of Programming. Pattis used the language in his courses at Stanford University, California. Read more on Wikipedia...


Example from hello-world:
PROGRAM hello_world BEGIN WRITE("Hello World", CR) END hello_world
Example from Wikipedia:
BEGINNING-OF-PROGRAM   DEFINE turnRight AS BEGIN turnLeft; turnLeft; turnLeft; END   BEGINNING-OF-EXECUTION ITERATE 3 TIMES BEGIN turnRight; move END turnoff END-OF-EXECUTION   END-OF-PROGRAM

Language features

Feature Supported Example Token
Strings ✓ "Hello world" "
Print() Debugging ✓ WRITE
- Build the next great programming language · Add · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements · Part of the World Wide Scroll