schwalbe-sprach / schwalbe

"Transpiler" from the Schwalbe Programming Language to Swift
MIT License
27 stars 1 forks source link

Fix string literals #15

Open chriseidhof opened 6 years ago

chriseidhof commented 6 years ago

Are all issues in English? (Why?)

I think the current Zeichenkettenlitersyntax is broken. I have to write the following:

drucke("Hallo, Welt!")

I would have expected to write:

drucke(„Hallo, Welt!“)

(Or possibly)

drucke(»Hallo, Welt!«)
kiliankoe commented 6 years ago

Are all issues in English? (Why?)

Huge oversight on my end 🤦‍♂️

You're 💯% right about the Zeichenkettenliterale though. This can't stand in it's current form. Same as #3.

regexident commented 6 years ago

(Or possibly)

drucke(»Hallo, Welt!«)

Don't forget our neighbors from Switzerland and Liechtenstein:

drucke(«Hallo, Welt!»)