freon4dsl / Freon4dsl

Web Native language Workbench with Projectional Web Editor
https://www.freon4dsl.dev
MIT License
63 stars 9 forks source link

adding a 0-9 digit to a binary expression doesn't work #328

Closed globallyunique closed 3 months ago

globallyunique commented 3 months ago

The implementation uses a regex to identify that when /0-9/ is entered that number should be added to the expression. Currently you can't just ender a digit, e.g., '1', you must enter '/1/'.

globallyunique commented 3 months ago

As an example of this or a related problem the 'Example' sample app allows entry of digits and strings but doesn't display the value entered until the view is changed.

joswarmer commented 3 months ago

This is about the custom action in the Example language. The regular expression is ignored and handled as a regular string.