Back to front pageView on Hacker News (opens in a new tab)Show HN: Parinfer – a simpler way to write Lisp (opens in a new tab)shaunlebron.github.io674 pointsby undershirt (on Hacker News)11 years agoshaunlebron.github.io (opens in a new tab)Parinfer - simpler Lisp editingParinfer - simpler Lisp editingComments (134) 36 threadsEarlier commentssagarjauhari11 years ago#Love the fact that it is written in Clojure[-]dTal11 years ago1 reply#In the example: (foo [1 2 3 4 5 6 7 8 9]) How does one change it to: (foo [1 2 3] [4 5 6] [7 8 9]) ?edit: Ah, it works if you put all the forms on one line. I suppose it would be considered non-standard to indent that particular syntax in such a way.[-]chrisoakman11 years ago1 reply#You could also just put a "[" in front of "4" and "7".Parinfer will infer the closing brackets.dTal11 years ago#That yeilds (foo [1 2 3 [4 5 6] [7 8 9]])mark_l_watson11 years ago#A beautifully written web site. It made me happy just to look at it.I haven't been doing much Clojure or Common Lisp development this year but I am putting Parinfer on my look-at list.zeckalpha11 years ago#If I go to lisp for day to day work, I plan on using the syntax from SRFI-110 to encourage other people to work with me: http://srfi.schemers.org/srfi-110/srfi-110.htmlEven if the code at rest is in S-expression syntax, editing it in this syntax would be slick.Load more commentsAll comments shown.Couldn't load more comments. Check your connection and try again.
Show HN: Parinfer – a simpler way to write Lisp (opens in a new tab)shaunlebron.github.io674 pointsby undershirt (on Hacker News)11 years ago
dTal11 years ago1 reply#In the example: (foo [1 2 3 4 5 6 7 8 9]) How does one change it to: (foo [1 2 3] [4 5 6] [7 8 9]) ?edit: Ah, it works if you put all the forms on one line. I suppose it would be considered non-standard to indent that particular syntax in such a way.
chrisoakman11 years ago1 reply#You could also just put a "[" in front of "4" and "7".Parinfer will infer the closing brackets.
mark_l_watson11 years ago#A beautifully written web site. It made me happy just to look at it.I haven't been doing much Clojure or Common Lisp development this year but I am putting Parinfer on my look-at list.
zeckalpha11 years ago#If I go to lisp for day to day work, I plan on using the syntax from SRFI-110 to encourage other people to work with me: http://srfi.schemers.org/srfi-110/srfi-110.htmlEven if the code at rest is in S-expression syntax, editing it in this syntax would be slick.
Comments (134) 36 threads
Earlier commentsedit: Ah, it works if you put all the forms on one line. I suppose it would be considered non-standard to indent that particular syntax in such a way.
Parinfer will infer the closing brackets.
I haven't been doing much Clojure or Common Lisp development this year but I am putting Parinfer on my look-at list.
Even if the code at rest is in S-expression syntax, editing it in this syntax would be slick.
All comments shown.
Couldn't load more comments. Check your connection and try again.