Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Lisp-style metalanguage for News.YC
2 points by mojuba on Jan 16, 2008 | hide | past | favorite
Speaking of Viaweb... Actually, I'd love to see Lisp-style metalanguage here at news.yc, for example:

  {i This text would be italic}
  {y:99053 This is a link to a news.yc post}
  {r:http://wikipedia.com Click to go to Wikipedia}
  This does the math for you, so 2 * 2 is {* 2 2}
  Literal curly brackets: ~{ ~}, literal tilde ~~ - that's all you need to know.
Angle brackets < > could be used instead of { } as well - doesn't really matter.

Not that it would be a huge improvement, but rather ummmm... for the sake of some lispness.

The idea is not new, I thought about a text pre-processing language like this before. And no, I'm no lisp hacker, just a C/unixoid programmer with oily greasy hands.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: