AST-Core-Parser readFrom: question
Is it safe to use the AST-Core-Parser class extension "readFrom:" in a business application? ----- Brad Selfridge -- View this message in context: http://forum.world.st/AST-Core-Parser-readFrom-question-tp4920128.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
2016-10-25 21:16 GMT+02:00 Brad Selfridge <bsselfridge@gmail.com>:
Is it safe to use the AST-Core-Parser class extension "readFrom:" in a business application?
Maybe no. It is bound to smalltalk syntax and the allowed number literals. For example, a '+' sign in a float exponents has some suprising behavior Number readFrom:'3e4' "-> 30000" Number readFrom:'3e+4' "->3"
----- Brad Selfridge -- View this message in context: http://forum.world.st/AST- Core-Parser-readFrom-question-tp4920128.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
participants (2)
-
Brad Selfridge -
Nicolai Hess