Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download

Karel

< >

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

#773on PLDB 43Years Old

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 Token Example
Strings "
"Hello world"
Print() Debugging WRITE

View source

- Build the next great programming language · About · Resources · Acknowledgements · Part of the World Wide Scroll