|
|
|
|
|
by ilyash
1263 days ago
|
|
Comments Section In Next Generation Shell I've experimented by adding section "arbitrary comment" {
code here
}
and this is staying in the language. It looks good. That's instead of # blah section - start
code here
# blah section - end
Later, since NGS knows about sections, I can potentially add section info to stack traces (also maybe logging and debugging messages). At the moment, it's just an aesthetic comments and (I think) easily skip-able code section when reading.Symbols I've decided not to have symbols in NGS. My opinion (I assume not popular) is that all symbols together is one big enum, instead of having multiple enums which would convey which values are acceptable at each point. |
|
Of course, your language will need to have block scope, or at least blocks.