novika-lang / novika

🪱 Novika is a free-form, moldable, interpreted programming language
https://novika-lang.github.io/
MIT License
15 stars 0 forks source link

Distinguish triple quote and single quote excerpts #61

Closed homonoidian closed 1 year ago

homonoidian commented 1 year ago

Excerpts are an umbrella for comment/quote literal. We need to allow the following:

"""
Hello "quoted" world!
"""

some ... [ code ! ]

'''
Here we go, 'quoted nicely.'
'''
homonoidian commented 1 year ago

Also I guess they should dedent their content automatically (ignoring the first line when it's not empty, that is, immediately following ''' or """ like so '''hello world or """hello world)?