Christopher Sebastian

Results 29 comments of Christopher Sebastian

One constraint is that I don't want to add too many dependencies to 'fasteval'. But a REPL really needs a good 'readline' user interface. That's why I structured this to...

If you want to create a REPL crate, that's fine with me. I personally don't want to create an official REPL right now because it would actually take a lot...

I'll create an official REPL after we have Advanced Numeric Types: * Complex Numbers * Rational Numbers * Arbitrary Precision Numbers * Big Integers + Crypto Update: I created #7...

@Ujang360 I don't mind at all. Thanks for doing this! In the future, once fasteval is more mature, I think we can make and even better REPL. But for now,...

It's an interesting idea. I'll think about it. I'm afraid of blowing up the complexity of the language... I really don't want argument-list-expansion (like python's "*args" and "**kwargs") or vector...

I also feel like this kind of capability is already "sort-of supported" because custom functions can do *anything*. It would be easy to define a custom function "A" that stores...

I added a unit test which performs some vector operations with some custom functions. You might be able to use it as an example: https://github.com/likebike/fasteval/blob/4b2b0341b82b5160e4cc14c2aeed7d643a30b7b9/tests/evalns.rs#L112 It might be a bit...

@arnodb I thought about doing that, but I assumed it wouldn't be adequate, since I do more than those four aritmetic operations. I also do Exponentiation, Modulo, Comparison, Logarithms, Rounding,...

> I integrated fasteval very quickly in replacement of meval If you have some spare time, can you please tell me if you found any part of the transition from...

I'm happy to see that you were able to migrate such a large project so easily. A few notes: * I see that you're using HashMap for some struct fields...