newRPL - Updated to build 1510 [official build remains at 1487]
|
09-08-2021, 05:35 PM
Post: #184
|
|||
|
|||
RE: newRPL - Updated to build 1497 [official build remains at 1487]
(09-08-2021 03:10 PM)Claudio L. Wrote: Looks nice and clean! But maybe we can reuse the CASE structure with some clever commands and not introduce another complex flow control structure into the language. Well, Ck&Dispatch is probably best suited for Saturn architecture: your 'orthogonal' approach yields more synthetic code so I'm all for it. Quote:What I find works better for me is to check the arguments one by one, and each argument against a list of valid types, not just one type. It's pretty versatile, what about 'CHECK' for the T/F version and 'CHECKFAIL' for the other one? What I think is important is to keep the usage of negative types to differentiate between TYPEE/VTYPEE and the automatic stripping of tags à la Ck&Dispatch BTW CHECK could return the matching type or 0 instead of a plain 1/0. Quote:Can you think of cases where these 2 commands would fail to work well? That's good! |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 8 Guest(s)