all repos — min @ 9cff6cdf7ef39eb7e2294a83d0b4c1f9c3d76e8d

A small but practical concatenative programming language.

Fixed string escapes when printed.
h3rald h3rald@h3rald.com
Sat, 13 Nov 2021 22:00:57 +0100
commit

9cff6cdf7ef39eb7e2294a83d0b4c1f9c3d76e8d

parent

e173d57ca2188a9103a31c5c942b0c284eaf26a1

2 files changed, 8 insertions(+), 1 deletions(-)

jump to
M minpkg/core/parser.nimminpkg/core/parser.nim

@@ -569,7 +569,7 @@ return $a.boolVal

of minSymbol: return a.symVal of minString: - return "\"$1\"" % a.strVal.replace("\"", "\\\"") + return "\""&a.strVal.escapeJsonUnquoted&"\"" of minInt: return $a.intVal of minFloat:
M next-release.mdnext-release.md

@@ -1,4 +1,11 @@

### BREAKING CHANGES * Runtime checks (expectations) must now be manually activated by specifying `-d` or `--dev`. + +### New Features + * Added **dev?** symbol to check if we are running in development mode. + +### Fixes and Improvements + +* string values are now properly escaped when printed.