charly-lang / charly

🐈 The Charly Programming Language | Written by @KCreate
https://charly-lang.github.io/charly/
MIT License
199 stars 10 forks source link

Share trace entries & minor Exception system changes #155

Closed KCreate closed 7 years ago

KCreate commented 7 years ago

Closes #143

This pull requests puts the trace array into the context. The context is also shared between require calls.

The Exception std-lib class also gets the trace property which includes the trace at the time of throwing.