Re: WISHLIST.TXT
- Posted by kbochert at copper.net Aug 24, 2002
- 534 views
-------Phoenix-Boundary-07081998- You wrote on 8/24/02 10:53:18 AM: > >I already have seperated gotos and pointers from rparse into gparse (it >seems >that rparse's method of handling variables is required in order to get >gotos >to function correctly), unforutantly the outputed code is still ugly >and >it is not 1:1 with the source code (with something like an emulated >goto thats >flat out impossible). As a compromise I'm adding code to output the >original >line numbers as comments to both rparse and gparse. > That might help some but I still think a preproccesor has a hard row to hoe here. The user still has to find the reported error in the preprocessed code and then translate back to what in the original code caused it. Its a nuisance that get worse as the preprocessor becomes more powerful. Even with a 1:1 preprocessor like Goo I found it hard to get used to. For large-scale additions, a modified interpreter seems to have insurmountable advantages: speed, error messages where they belong, complex features hidden in simple syntax and so forth. I think the best use for a preprocessor is to provide syntactic sugar -- new features like goto, exceptions etc. will always be problematical. Karl Bochert -------Phoenix-Boundary-07081998---