string(variableName | value)
var s = "Hello";var s2 = string(s);var s3 = string("this too" + " going crazy" + s);
Is that valid?
Granted, you would ordinarily string assign without string() function.
Blog: The Parallel Void
I think, string() can take only number, not string
Easy to implement as no-op
Hi,I don't see a need for using a string function call around another string value/ variable. But, yes, you can define this though we wouldn't have any test-case of this sort.
>>But, yes, you can define this though we wouldn't have any test-case of this sort.
Rama, you are missing the point of most of the gripes on this forum.
We are not asking "what is permitted"
We are asking "what are you requiring of the interpreter" and equally importantly "what are the test cases".
The test cases are important because they will tell us if you are correctly telling us "what are you requiring of the interpreter". Call this our checks and balances.
Although you are striving to have a simplified interpreter such that we can focus on parallelization, if we cannot meet your minimum requirement due to failure of specification to properly state what is required (e.g. left to right evaluation or right to left evaluation (you stated right to left which tends to be backwards unless you are a HP calculator)), then expect non-conforming entrants.
Hi Jim,We would not have this scenario in our tests and this is not expected of the parser. The string() function is meant for number to string conversionand that is what we plan to use or test it against. Hope this clarifies.