[racket] how do you raise a runtime error with source location information?

From: Danny Yoo (dyoo at cs.wpi.edu)
Date: Mon Jun 20 22:40:45 EDT 2011

In my personal brainf*ck compiler, I've been using the function
"raise-syntax-error" to raise a runtime error, because I want to point
at a given point in the text to blame.  For example, when an operation
causes the tape head to fall off into negative territory, I can point
at the offending line and column precisely with raise-syntax-error.

However, it doesn't really feel like a syntax-error.
raise-syntax-error doesn't sound right.  What should I really be


Posted on the users mailing list.