#multi-line comments in assembly editor

1 messages · Page 1 of 1 (latest)

open finch
#

multi-line comments in assembly editor

median acorn
#

What is the problem with multiple single line comments? Multi line comments are pretty much always a bad idea

open finch
#

just giving ideas

brave mango
#

Why are they bad? If I need to type paragraphs I don't want to have to fiddle with comment marks on each line. IDEs can automate that, but I think that might be out of scope for this game.

open finch
#

^

median acorn
#

Especially if they are also somewhat supposed to be used to commenting out code

#

So /* "*/" */ would not do what one might expect when trying to commenting out the block of code

#

Also, adding a single # at the start of each line isn't that much effort

#

And yes, I would prefer the in game IDE to be updated with some kind of comment out this line. The IDE will almost certainly will have to be improved in a few ways when the assembler is updated

open finch
#

double ## can represent multi-line comment

median acorn
#

Sure, but exact syntax doesn't matter the problem still exist

open finch
#

okay

vernal quail
#

I agree that multiline likely isn't necessary, but it's easy enough to avoid the one example provided - just require the ml start indicator to be the first thing on a line

#

So you can make block comments but not embedded ones

reef jacinth
#

Some languages only have block comments and don't support line comments

#

Never heard of an assembler like that though

median acorn