Unify the builtins list actoss platforms?
Posted: Sat Jan 19, 2008 11:26 am
Newlisp comes with a bunch of different flavors (unix and windows, ascii and unicode), and they all have a slightly different set of functions built in. For example, windows version lacks 'fork', non-unicode versions lack 'unicode'. I've woke up in horror when I've realized that I've put into my Vim syntax file the functions list from non-unicode windows version, therefore neither 'fork' nor 'unicode' are highlighted. And I don't know how many others I have missed.
May be it is a good idea to make the same list of standard functions defined across all versions of newlisp, and let them fail with error "not implemented" (instead of "invalid function") when called on a wrong platform?
And, if this suggestion is refused: where can I obtain a full list of all functions defined in all different platforms and flavors? I believe that updating the Vim syntax file with this list before 9.3 is released (and include the updated version in 9.3) is a Good Thing. No other changes are planned, so chances to break something are minimal.
May be it is a good idea to make the same list of standard functions defined across all versions of newlisp, and let them fail with error "not implemented" (instead of "invalid function") when called on a wrong platform?
And, if this suggestion is refused: where can I obtain a full list of all functions defined in all different platforms and flavors? I believe that updating the Vim syntax file with this list before 9.3 is released (and include the updated version in 9.3) is a Good Thing. No other changes are planned, so chances to break something are minimal.