Skip to content

Feature: Syntax for multiline comments and strings #33

@zauberparacelsus

Description

@zauberparacelsus

One apparent shortcoming I've noticed with chipmunk is that comments appear to be single-line only, which can be tedious when you need to comment out large blocks of code during testing.

Since Chipmunk seems to follow Python's model for single-line comments, perhaps the same could be done for multi-line comments? Python also handles multi-line strings the same way, the difference being that the comments stand on their own and don't get used, and so are discarded by the compiler.

'''
This
comment
covers
multiple lines
'''

var arr = '''
this
string
is
multiple
lines
'''

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions