top | item 40642137 (no title) thsksbd | 1 year ago I been wanting to make a forth+lisp language for a while now - inspired by HP's RPL (its so close to being a lisp!).Super cool discuss order hn newest xorvoid|1 year ago A friend mentioned RPL, but that didn’t seem to even have first-class functions… unless I’m mistaken? thsksbd|1 year ago Im not a CS guy, so I dont know what "first class" means.I can do whatever to a function. I can use it as an argument. I can return it from another function. I can make a function that modifies functions.All that w/out doing anything out of the ordinary day to day programing. ceving|1 year ago You can put functions on the stack. agumonkey|1 year ago with arrow syntax even << a -> << a a * >> >> 'SQUARE' STO I still can't believe how advance RPL calculators were load replies (1)
xorvoid|1 year ago A friend mentioned RPL, but that didn’t seem to even have first-class functions… unless I’m mistaken? thsksbd|1 year ago Im not a CS guy, so I dont know what "first class" means.I can do whatever to a function. I can use it as an argument. I can return it from another function. I can make a function that modifies functions.All that w/out doing anything out of the ordinary day to day programing. ceving|1 year ago You can put functions on the stack. agumonkey|1 year ago with arrow syntax even << a -> << a a * >> >> 'SQUARE' STO I still can't believe how advance RPL calculators were load replies (1)
thsksbd|1 year ago Im not a CS guy, so I dont know what "first class" means.I can do whatever to a function. I can use it as an argument. I can return it from another function. I can make a function that modifies functions.All that w/out doing anything out of the ordinary day to day programing.
agumonkey|1 year ago with arrow syntax even << a -> << a a * >> >> 'SQUARE' STO I still can't believe how advance RPL calculators were load replies (1)
xorvoid|1 year ago
thsksbd|1 year ago
I can do whatever to a function. I can use it as an argument. I can return it from another function. I can make a function that modifies functions.
All that w/out doing anything out of the ordinary day to day programing.
ceving|1 year ago
agumonkey|1 year ago