probmods / webchurch

A Church to Javascript compiler (DEPRECATED)
Other
140 stars 15 forks source link

Enable highlighting for built in errors. #29

Closed ngoodman closed 11 years ago

ngoodman commented 11 years ago

Currently built in syntax errors (eg unmatched parens) are passed straight through in evaluate because there is no church stack (church code hasn't started evaluating).

We could have make_church_error add a field churchloc to the error that gets used by error highlighting in injector.js.

ngoodman commented 11 years ago

Done in probmods/chapters commit 28d805c25f3ff864603faaca97e7ca2106082ee6