Re: Loopy bugs
Posted: Sat Jul 17, 2021 12:55 am
Hi Folks,
By 'grammar' I suspect you all mean syntax 'railway line' graphs, as defined for example in Jan Jones' handbook.
This will allow however strange legal programs like the very short : 100 ELSE
But try mixing lines of SELects with IFs and ELSEs in disorder, and you may find very unexpected though often legal results !
I imagine everyone is looking for a common playing field of syntax error reporting for all QL systems. This has yet to be defined !
One simple solution to backward compatibility is to adapt all programs to run on 128ko JS QLs, memory permitting...
No system is perfect though... and we already have a lot to be thankful for the interpretive sytems we have at our disposal. ( Eg: JavaScript Compilers = ouch !! )
Steve.
By 'grammar' I suspect you all mean syntax 'railway line' graphs, as defined for example in Jan Jones' handbook.
This will allow however strange legal programs like the very short : 100 ELSE
But try mixing lines of SELects with IFs and ELSEs in disorder, and you may find very unexpected though often legal results !
I imagine everyone is looking for a common playing field of syntax error reporting for all QL systems. This has yet to be defined !
One simple solution to backward compatibility is to adapt all programs to run on 128ko JS QLs, memory permitting...
No system is perfect though... and we already have a lot to be thankful for the interpretive sytems we have at our disposal. ( Eg: JavaScript Compilers = ouch !! )
Steve.