Live data from Hacker News

Lisp-like html as a replacement to bbcode/markup/textile

94.249.190.129

21–30 of 83 posts

Re: Lisp-like html as a replacement to bbcode/markup/textile

#21
No.

How does it replace markup?! It's still writing html but (more or less) using {} instead of . That's just silly, imo.

Markup (and restructured text) are so much more concise because you don't need to know what's or or whatever.

Also, the page itself uses markup in HTML (not CSS)... wow.. back in 1995 again, are we?

Re: Lisp-like html as a replacement to bbcode/markup/textile

#23
If you look at the old Scribe, it used a markup like in this example:

    @hemlock runs in the editor process and interacts with other Lisp processes
    called @i[eval servers].  A user's Lisp program normally runs in an eval
    server process.  The separation between editor and eval server has several
    advantages:
    @begin[itemize]
    The editor is protected from any bad things which may happen while debugging a
    Lisp program.

    Editing may occur while running a Lisp program.

    The eval server may be on a different machine, removing the load from the
    editing machine.

    Multiple eval servers allow the use of several distinct Lisp environments.
    @end[itemize]
To make things italic, you would write @i[some text here]. Longer commands would be like in the itemize example. Each paragraph would be an item in this simple version.

Re: Lisp-like html as a replacement to bbcode/markup/textile

#24
post #21

No. How does it replace markup?! It's still writing html but (more or less) using {} instead of . That's just silly, imo. Markup (and restructured text) are so much more concise because you don't need to know what's or or whatever. Also, the page itself uses markup in HTML (not CSS)... wow.. back in 1995 again, are we?

The difference isn't just replacing {} with . Notice that the tag name is only specified once. The end tag is only an end } not a . This is more satisfying to programmers because the SGML style allows mixups like text.

Re: Lisp-like html as a replacement to bbcode/markup/textile

#28
Nice experiment.

There's an issue with curly braces { }. When typing in Russian (and in other Cyrillic languages) you need to switch keyboard layout before and after each curly brace. It quickly becomes tiresome to do: type-in-russian, switch-layout, type-{, switch-layout, type-in-russian etc.

This problem also exist in Markdown too: square brackets [ ] and curly braces { } both live on the same keys as Russian 'Х' and 'Ъ'. Typing Russian Markdown with links is tiresome. Curiously, the only easy to type characters in Cyrillic layout are parens ( ).

Update. I wrote about JCUKEN layout above: http://en.wikipedia.org/wiki/JCUKEN. But on some keyboards the layout is extended. E.g. Mac keyboard allows you to enter square brackets [ ] with `~ key in default Russian layout [1, 2]

[1]: http://store.storeimages.cdn-apple.com/2544/as-images.apple....

[2]: http://store.apple.com/ie-business/product/MC184RS/B/apple-w...

Re: Lisp-like html as a replacement to bbcode/markup/textile

#29
post #21

No. How does it replace markup?! It's still writing html but (more or less) using {} instead of . That's just silly, imo. Markup (and restructured text) are so much more concise because you don't need to know what's or or whatever. Also, the page itself uses markup in HTML (not CSS)... wow.. back in 1995 again, are we?

The difference isn't just replacing {} with . Notice that the tag name is only specified once. The end tag is only an end } not a . This is more satisfying to programmers because the SGML style allows mixups like text .

I'm not sure if expecting the programmer to know all HTML tags but not how they are used is the right way to go :P

Either you say "ok, i want to get rid of HTML and make it really easy to build a website" or not. This approach is neither, in my opinion.

In my opinion, that's a problem of most of those "fancy" markup languages. Why should i bother using this (or haml for that matter), if it only adds another layer of complexity and yet another "language" to learn (for me and far more important for every other person that may join a project in the future)? It may look prettier but it introduces overhead and potential other problems. Is it worth it? For me, it's not.

Re: Lisp-like html as a replacement to bbcode/markup/textile

#30
post #28

Nice experiment. There's an issue with curly braces { }. When typing in Russian (and in other Cyrillic languages) you need to switch keyboard layout before and after each curly brace. It quickly becomes tiresome to do: type-in-russian, switch-layout, type-{, switch-layout, type-in-russian etc. This problem also exist in Markdown too: square brackets [ ] and curly braces { } both live on the same keys as Russian 'Х' a…

Out of curiosity, do Russian developers permanently use an English layout, or just map these keys elsewhere?
Post reply on HN