]> gitweb.factorcode.org Git - factor.git/commit
escape-strings: Add a way to find the shortest lua-string escape.
authorDoug Coleman <doug.coleman@gmail.com>
Sat, 30 Jun 2018 05:38:16 +0000 (00:38 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Sat, 30 Jun 2018 05:39:39 +0000 (00:39 -0500)
commit211d69561ae364e70f21dec5a55386b4fd5f659c
tree50cf03f65e9ae130a91b82f951edd0b718a66477
parent7fdb8fcab5a01a4faf7cb8ac13447498d02bade9
escape-strings: Add a way to find the shortest lua-string escape.

Also add a way to escape a string as either 'foo "foo" or [[foo]] depending on which delimiters will do the job.

Add a couple helper words to assocs.extras
basis/escape-strings/authors.txt [new file with mode: 0644]
basis/escape-strings/escape-strings-tests.factor [new file with mode: 0644]
basis/escape-strings/escape-strings.factor [new file with mode: 0644]
extra/assocs/extras/extras.factor