Created
April 28, 2014 01:50
-
-
Save waywardmonkeys/11359954 to your computer and use it in GitHub Desktop.
Multiline text using a parser expansion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Module: foo | |
Synopsis: | |
Author: | |
Copyright: See LICENSE file in this distribution. | |
define function text-parser (text :: <string>) => (text :: <string>) | |
text | |
end; | |
define function main (name :: <string>, arguments :: <vector>) | |
format-out(#text:{Hello, world! | |
This is some multi-line text! | |
And it can include ", ', and many other things. | |
}); | |
exit-application(0); | |
end function main; | |
main(application-name(), application-arguments()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
batavia:foo bruce (master) $ ./_build/bin/foo | |
Hello, world! | |
This is some multi-line text! | |
And it can include ", ', and many other things. | |
batavia:foo bruce (master) $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment