arturo-lang / arturo

Simple, expressive & portable programming language for efficient scripting
http://arturo-lang.io
MIT License
675 stars 29 forks source link

[VM/errors] add proper color "coding" in error templates #1596

Open github-actions[bot] opened 3 months ago

github-actions[bot] commented 3 months ago

[VM/errors] add proper color "coding" in error templates for example, types could be annotated in a specific way. pretty much like function names (in calls) are shown in white-bold, but I'm not even sure this works consistently. So, that has to be fixed too...

https://github.com/arturo-lang/arturo/blob/00e88da52ef219a9f5c43fec509360388072ec9c/src/vm/errors.nim#L30

#  labels: error handling, enhancement, open discussion

# TODO(VM/errors) add proper color "coding" in error templates
#  for example, types could be annotated in a specific way.
#  pretty much like function names (in calls) are shown in white-bold,
#  but I'm not even sure this works consistently. So, that has to be
#  fixed too...
#  labels: error handling, enhancement

# TODO(VM/errors) general cleanup needed
#  labels: error handling,cleanup

6931e4abaed9b0e9e5d2d5ced9eea98b44bfc618