BaCon 4.4 released
Oct 2, 2021 8:16:59 GMT 1
Post by Pjot on Oct 2, 2021 8:16:59 GMT 1
All,
BaCon version 4.4 has been released and can be obtained from the BaCon website. Please try to refresh your browser cache if the new package is not visible in your browser immediately.
This release first was intended to be a maintenance release, which should handle the statement parsing both for the Shell version and the BaCon version in an equal manner.
After some investigation it became clear that BaCon can rely on the delimited strings functionality for its parsing. For this, the existing MATCH function has been improved, and a new statement PARSE was introduced, which is capable of parsing out any matches into a dynamic array. Lastly, the COLLAPSE$ function can cleanup any redundant delimiters in a delimited string, preparing a real-world text for correct parsing.
The new PARSE functionality now is used by the BaCon implementation. It also will impose the correct order of optional statement arguments which improves syntax checking.
Next to the new parse functionality, there were some other important improvements. We can now use "-=" and "+=" constructs like in C, and also the LEFT and RIGHT string functions allow just one argument. Lastly, bug fixes in the TLS code and some code improvements were implemented.
See the full list of changes for more details (please refresh your browser cache to see the latest).
Best regards
Peter
BaCon version 4.4 has been released and can be obtained from the BaCon website. Please try to refresh your browser cache if the new package is not visible in your browser immediately.
This release first was intended to be a maintenance release, which should handle the statement parsing both for the Shell version and the BaCon version in an equal manner.
After some investigation it became clear that BaCon can rely on the delimited strings functionality for its parsing. For this, the existing MATCH function has been improved, and a new statement PARSE was introduced, which is capable of parsing out any matches into a dynamic array. Lastly, the COLLAPSE$ function can cleanup any redundant delimiters in a delimited string, preparing a real-world text for correct parsing.
The new PARSE functionality now is used by the BaCon implementation. It also will impose the correct order of optional statement arguments which improves syntax checking.
Next to the new parse functionality, there were some other important improvements. We can now use "-=" and "+=" constructs like in C, and also the LEFT and RIGHT string functions allow just one argument. Lastly, bug fixes in the TLS code and some code improvements were implemented.
Because of all new improvements the version number has bumped to 4.4.
Best regards
Peter