Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Jtsummers
11 months ago
|
parent
|
context
|
favorite
| on:
The Titania Programming Language
Is your idea that that would always work? Like:
s := "Hello world".; -- equivalent to "Hello world\n"
Or only in `print`? If only in `print`, then you've suddenly made a context-sensitive grammar. And if the former, just use "Hello world\n" instead, since the tokenizer already supports that.
keithnz
11 months ago
[–]
I think the point is to add the correct end of line depending on OS.
kouteiheika
11 months ago
|
parent
[–]
The correct end of line is always '\n'. Even Windows' Notepad supports it nowadays. I will gladly die on this hill. :P
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: