conversion for boneyard comments -> LABEL in hollywoo

This commit is contained in:
2021-12-16 18:01:32 -07:00
parent b6ff27b650
commit 0d9682eecc

View File

@@ -40,4 +40,15 @@
line (ifLet [(Some l) (stream.takeLine)] (l.trim) (break))]
(when line
(+= output "NORMALSPEECH \"${name}\" \"${wryly}\" ##\"${line}\"##\n"))))
output)))
output)))
(registerConversion
(new ktxt2.StreamConversion "Label" "fountain" "hollywoo"
->stream ?{(stream.dropWhitespace) (stream.startsWith "/*")}
->stream
"LABEL $(.trim
(.replace
(.replace
(.replace stream.content "/*" "")
"*/" "")
"*" ""))\n"))