conversion for boneyard comments -> LABEL in hollywoo
This commit is contained in:
@@ -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"))
|
Reference in New Issue
Block a user