Open s5bug opened 4 years ago
I strongly agree with this!! But it needs to be approached in a new way.
Instead of having a separate program that allows you to run new command. it should be in source code of the program like in C.
This makes it much more easier and less space consuming. not only will this help, this will put an end to people asking for new commands in ICE. 😄 "Just A step closer to ICE 3.0!"
I agree that that's also a good idea, but (with my very limited knowledge of how ICE works) it seems like it would be harder to implement.
I think if it does end up being handled that way, having import
s would be a great idea. I'd be able to fit a math library into a single program that others can just import
.
I want to make a library for BigInts/BigRationals/BigDecimals, and I need to perform certain mathematical operations with them. I was thinking that a way to implement "subroutines" would be to allow programs themselves to accept arguments and then be able to call those programs from ICE, for example:
SNBICMP
:SNBIADD
:I have another idea on how to handle parameters that I'll post in a separate issue.