[dev] A language similar to Markdown that sucks less

From: Alexander Teinum <ateinum_AT_gmail.com>
Date: Sun, 22 Aug 2010 17:52:45 +0200

I didn’t want to start a completely off-topic discussion in the
typesetting thread, so I created a new thread. I’m playing with the
idea of creating a language that is simple to read like Markdown, but
that has a stricter syntax. It looks like Common Lisp. I think the
parser should be implemented in Go.

(h1 A heading)
(p This is (strong awfully) nice.)
(h2 Another heading)

Or, it could be written this way…

   A heading)
   This is (strong awfully) nice.)
   Another heading)

There might be a rule that says that the first level doesn’t need the

h1 A heading
p This is (strong awfully) nice.
h2 Another heading

There isn’t any information in that markup that says where the h1, p,
or h2 tag ends, so it would be most sane to say that it ends at \n,
unless the last character is a \.

h1 A heading
p This is (strong awfully) nice.\
Line breaks in a paragraph.\

h2 Another heading

Hash signs might be better than h1, h2, …

# A heading
p This is (* awfully) nice.
## Another heading

That’s the idea. I’d like to discuss the language here; the syntax and
implementation details. Maybe it has already been done. Maybe the idea
Received on Sun Aug 22 2010 - 17:52:45 CEST

This archive was generated by hypermail 2.2.0 : Sun Aug 22 2010 - 18:00:05 CEST