Open CrazyPython opened 3 years ago
To be fair - my reference was Go's string literal syntax.
"
, $
should be parsed without confusion, for templating and bash scriptsI'm a little hesitant to use here strings/end tokens because it requires a good amount of work for each label. Indentation doesn't seem like a bad idea, but I'm a little burned from writing long configuration in YAML.
Let me think about this a bit, and I'm happy to listen to what others think.
My proposal:
task = @echo hi@
Many languages, such as Bash and JS, use "`" as valid syntax.
Furthermore, while implementing the spec, I noticed it doesn't say escaping "`" is required.
I propose changing the character to "@", a character very rarely used in programming languages.
Alternatively, we could use:
end
token