Reopened Issue: Implicit castor is not used in FLEE expression [7048]
I have implemented an implicit conversion to a double in a class (DoubleWrapper) that is used as a variable. When I use this class in C#, it works as expected: double dResult = Math.Cos( aDouble...
View ArticleReopened Feature: Indexer with more than one argument gives parser exception...
Calling an indexer with more than one argument gives a parse exception on the list separator. Â Unit tests:Â [TestMethod] public void TestIndexerWithOneArgument() { ExpressionContext context = new...
View ArticleReopened Issue: Implement standard constructors on all custom exceptions [3823]
Thanks for adding the [Serializable] attribute to custom exceptions, but we didn't quite make it deserializable yet. Please implement the 4 standard constructors on all custom exceptions:Â Â public...
View ArticleReopened Issue: Owner base type property calling produce runtime error [3107]
I have specified the Owner property for the expression object, and the type of owner object has base type which is not Object. When I get the value of base type property, an runtime exception occurred....
View ArticleReopened Task: Strongly signed assemblies [2160]
Hi, Great library, too bad the assemblies are not strongly signed. This prevents referencing the library from assemblies which have a strong key. Any chances of providing strongly signed versions of...
View ArticleReopened Feature: Support for null value [945]
There needs to be support for specifying the null value in expressions
View ArticleCreated Unassigned: Use of "+" sign causes expression error [16268]
The following code causes an error:```_eval = new ExpressionContext();IDynamicExpression expr = _eval.CompilerDynamic( "+2" );```The '+' sign is rejected when it should not be.
View ArticleNew Post: Unable to cast a string to int32?
Hi, I am using the Flee library and its really easy to set up and use. However, I have hit a problem in that the library currently doesn't allow me to convert a string to an integer using the CAST...
View ArticleNew Post: Unable to cast a string to int32?
Hey Dom, in .net you cannot cast a string to an int either,since Flee is based on the .net core,it cant handle that. You could use int.Parse tho :) flee lets you import any .net lib and use any method...
View ArticleReviewed: Flee-0.9.26.0 (Aug 22, 2013)
Rated 5 Stars (out of 5) - Absolutely stunning work. Incredibly fast, versatile and easy to use. THANK YOU for this really helpful library. I was able to use it to complete a really difficult project...
View ArticleNew Post: Unable to cast a string to int32?
I'm having a similar problem. I get the exception "CastElement: Cannot convert type 'Int32' to 'String'" when trying to cast an integer as a string. potpockey, I've tried importing Convert and am not...
View ArticleNew Post: Unable to cast a string to int32?
if you imported convert you access its methods directly -- dont write Convert.ToString,but just ToString(yourintvariable)
View ArticleNew Post: Evaluate lambda expression
having the error: Syntax Error: unexpected token "p" how can i achieve the following? var context = new ExpressionContext(); const string exp = @"Person.Any( p=> p.Gender == "MALE")";...
View ArticleNew Post: Allow special characters in Variable names
Hello, My question is quite simple, but I don't know if it could be easy to modify in source code. I tried, but I prefer to ask first... Is it possible be able to have some special characters to...
View ArticleNew Post: Allow special characters in Variable names
Just to be more precise, the second part works. Currently I use the "_" character as a prefix, but I would like to use more... Here is my ResolveVariableType event: static void...
View ArticleNew Post: Allow special characters in Variable names
Hi, In ExpressionTokenizer.vb, try to changepattern = New TokenPattern(CInt(ExpressionConstants.IDENTIFIER), "IDENTIFIER", TokenPattern.PatternType.REGEXP, "[a-z_]\w*") bypattern = New...
View ArticleNew Post: Solve equation like y=0.1*x
I do have easy equations like y=0.1*x stored as a string. Based on some logic I want to solve for y or for x, depending on which I know. Ex1: x=5 --> I want to get y=0.5 Ex2: y=2 --> I want to...
View ArticleNew Post: Solve equation like y=0.1*x
y=0.1*x is not a valid expression you'll have to write it as 0.1*x and add an x variable exampleExpressionContext context = new ExpressionContext(); context.Variables["X"] = 5; IDynamicExpression e =...
View ArticleNew Post: verbatim strings using @
is there any support for verbatim string as in c# using the @ i want to return string litterals representing path and I must double each backslash it would be more readable to...
View ArticleNew Post: CompileGeneric throws error on parsing double quotes "
it's like you're telling the parser only " dont forget you're passing a string containing a string litteral and in your string every " and \ char must be escaped so...
View Article