nicopap / cuicui_layout

The dumbest and simplest layouting algorithm for bevy
38 stars 2 forks source link

More resilient parser for better error messages #103

Open nicopap opened 11 months ago

nicopap commented 11 months ago

For example, we could use it to show more error messages.

An option is also to have a secondary parser that accepts a broader syntax and logs error on encountering syntax that diverges with the main parser. We would call the secondary parser when finding syntax errors in the file. This way, we keep the "happy path" fast, while making the "sad path" more informative if a bit slower.