Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic runtime and error reporting #19

Open
eldoy opened this issue Feb 27, 2022 · 0 comments
Open

Dynamic runtime and error reporting #19

eldoy opened this issue Feb 27, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@eldoy
Copy link
Owner

eldoy commented Feb 27, 2022

Should we write a more dynamic runtime? How do we map code line numbers to errors? At the moment it's a bit hard to know where an error originated. It would be nice to have something like:

Error on line 1: @db: $result in file 'tester.yml'
Stacktrace:
set $result, {hello: 1}
# See other issue about stack trace

The runtime could break the YAML into separate sections, which are interpreted on the fly. This way we don't need internal IDs (#cuid) since there would be no duplicates.

Should we use a custom parser? It's a pain to re-implement a YAML parser...

@eldoy eldoy added the enhancement New feature or request label May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant