TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Lisp without parentheses: Lisp INdented

53 pointsby heliumover 15 years ago

8 comments

lucraftover 15 years ago
Yes, it has been a few months since the last person tried this.
kraemateover 15 years ago
Am i the only one who likes lisp because of the parenthesis and the lack of syntax? The parens are the perfect way of representing the syntax trees, and you dont have to be bothered with remembering all the syntax and operators etc like with the other languages.
评论 #823874 未加载
评论 #824368 未加载
评论 #824256 未加载
评论 #824590 未加载
评论 #824193 未加载
jacquesmover 15 years ago
Hm, this feels like comitting hara-kiri, but I actually found the eight queens sample:<p><a href="http://www.genyris.com/wiki?page=default/eightqueenssource" rel="nofollow">http://www.genyris.com/wiki?page=default/eightqueenssource</a><p>A lot more readable than the 'regular' lisp version:<p><a href="http://obereed.net/queens/algorithm.html" rel="nofollow">http://obereed.net/queens/algorithm.html</a><p>By automating the process of converting between 'indented' lisp and 'regular' lisp those that want it can have it and those that do not can simply ignore it.
评论 #823616 未加载
评论 #823669 未加载
评论 #823549 未加载
JulianMorrisonover 15 years ago
Set the highlight color of your () to white. Solved.
评论 #824134 未加载
评论 #823637 未加载
评论 #823718 未加载
mahmudover 15 years ago
Best attempt at this has got to be Dylan. Latest, plausible, attempt is probably David Moon's PLOT (Programming for Old Timers):<p><a href="http://users.rcn.com/david-moon/PLOT/" rel="nofollow">http://users.rcn.com/david-moon/PLOT/</a><p>See how he does macros for a syntax-full language :-)<p><a href="http://users.rcn.com/david-moon/PLOT/Moon-ILC09.pdf" rel="nofollow">http://users.rcn.com/david-moon/PLOT/Moon-ILC09.pdf</a>
radu_floricicaover 15 years ago
Either have parentheses and format by hand or use parentheses and have the editor format the text. Personally, I like the latter best. Easier to change stuff.
alrex021over 15 years ago
Oh no, I have no parenthesis. I am not a dataset nor a function, how do I compute?
sharjeelover 15 years ago
Did you mean Python?
评论 #823619 未加载