[{"data":1,"prerenderedAt":240},["ShallowReactive",2],{"project-10286852":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":29,"sentiment":30,"stance_mix":31,"scored_comments":35,"aspects":36,"strip":42,"post_text":43,"what":44,"said":57,"maker_in_thread":144,"shape":154,"grid":159,"attempts":201,"same_week":202,"maker_shows":33,"maker_hidden":232,"reader_version":233,"card":234},"10286852","gsp","A Lisp compiler and environment in Go","title","Show HN: A Lisp compiler and environment in Go","https:\u002F\u002Fgithub.com\u002Fgsp-lang\u002Fgsp","github.com","eatonphil",1443368241,2015,76,20,353,2565,14,"notable","languages","lisp compiler","cli",[24,25,26,27,28],"lisp","go","compiler","clojure","s-expressions","mixed",0.295,{"positive":32,"neutral":33,"mixed":34,"critical":34},4,5,1,11,{"idea":37,"docs":40,"execution":41},{"positive":38,"critical":39},3,0,{"positive":39,"critical":39},{"positive":39,"critical":34},[38,39,39,39,39,39,38,33,33,39,38,33,38,39,34,39,38,39,38,33],null,{"problem":43,"audience":43,"pricing":43,"motivation":43,"time_to_build":43,"stack":45,"openness":55,"stage":56,"team_size":55},[46],{"value":47,"source":48,"evidence":49},"Go","maker",[50,52],{"id":51},"post",{"id":53,"by":11,"text":54},"10287795","You should be able to reach any Go library, in fact. Aside from the Prelude, the Gsp Stdlib[0] is in fact just bindings to the Go stdlib that casts every value from interface{}…","unknown","prototype",{"praise":58,"objections":75,"requests":96,"questions":105,"alternatives":119},[59],{"value":60,"source":61,"evidence":62},"Interesting idea, combining Lisp syntax with Go's stdlib and single binary distribution","commenter",[63,67,71],{"id":64,"by":65,"text":66},"10287777","howeyc","Interesting, looks almost like how you'd write Go using S-expressions. Seems like you have access to the stdlib from the examples. I wonder if you could use other Go libraries. I…",{"id":68,"by":69,"text":70},"10288017","jgalt212","Along these lines, do people here think porting Clojure to use the Go VM a worthwhile endeavor? Or, to the contrary, if one just wants to avoid the JVM, would it just be better…",{"id":72,"by":73,"text":74},"10288768","deadprogram","This looks very interesting...",[76,89],{"value":77,"source":61,"evidence":78},"Documentation is thin and the prelude is unclear",[79,83,86],{"id":80,"by":81,"text":82},"10288470","e12e","It may be a naive quesiton, but what does \"prelude\" mean in this context? I get that I can use this to emit go code from gisp, and compile that. But the example under the heading…",{"id":84,"by":81,"text":85},"10289044","Thank you four your reply. I had my suspicions that might be the issue (the shorthand\u002Fdifferences between gsp\u002Fgisp in particular). I also played a bit with the simple factorial…",{"id":87,"by":81,"text":88},"10292669","Good to hear :-) Btw, I'm still not sure what \"prelude\" means in this context...",{"value":90,"source":61,"evidence":91},"Example code from gisp does not compile or run with gsp",[92,95],{"id":93,"by":81,"text":94},"10288769","As far as I know, that's \"regular gisp (rm $(command -v gisp); go get -u github.com\u002Fjcla1\u002Fgisp), and the full hello.go it produces is: cat hello.gsp (ns main \"\u002Ffmt\" \"\u002Fnet\u002Fhttp\")…",{"id":84,"by":81,"text":85},[97,101],{"value":98,"source":61,"evidence":99},"More motivating examples and introductory documentation",[100],{"id":84,"by":81,"text":85},{"value":102,"source":61,"evidence":103},"Support for Go channels and coroutines",[104],{"id":64,"by":65,"text":66},[106,111],{"value":107,"source":61,"evidence":108},"What does the prelude mean in this context",[109,110],{"id":80,"by":81,"text":82},{"id":87,"by":81,"text":88},{"value":112,"source":61,"evidence":113},"Could a Clojure port target the Go runtime",[114,115],{"id":68,"by":69,"text":70},{"id":116,"by":117,"text":118},"10289156","kimi","To clarify: I have been looking for something along these lines because my company is looking to invest heavily into Clojure. We come from a Java\u002FJVM environment, and we are very…",[120,125,129,133,140],{"value":121,"source":61,"evidence":122},"gisp (jcla1) Go Lisp",[123,124],{"id":80,"by":81,"text":82},{"id":93,"by":81,"text":94},{"value":126,"source":61,"evidence":127},"glisp",[128],{"id":53,"by":11,"text":54},{"value":130,"source":61,"evidence":131},"LispEx",[132],{"id":64,"by":65,"text":66},{"value":134,"source":61,"evidence":135},"chanl",[136],{"id":137,"by":138,"text":139},"10287714","current_call","Wouldn't it be easier to just work in the reverse direction? https:\u002F\u002Fgithub.com\u002Fzkat\u002Fchanl",{"value":141,"source":61,"evidence":142},"ClojureScript",[143],{"id":68,"by":69,"text":70},{"comments":32,"answered":145,"key":146},2,[147,148,151],{"id":53,"text":54},{"id":149,"text":150},"10288481","I'm not sure what gisp you are running. The gsp program adds some imports by default (including the prelude). On the other hand, jcla1's gisp definitely does not include these…",{"id":152,"text":153},"10288936","I think you are just having path issues. Also, you are using a gsp example to test gisp. There are a few shorthands that gsp supports that gisp does not - such as imports…",{"commenters":155,"max_depth":156,"maker_replies":32,"first_comment_mins":157,"lifespan_hours":158},12,7,255,28,[160,162,166,169,172,175,177,179,181,182,184,185,188,190,191,193,194,196,198,199],[68,39,38,161,69,39],"project\u002Fneutral\u002Fidea",[163,39,39,164,165,39],"10288084","commenter\u002Fneutral\u002Fnone","wtetzner",[167,39,39,164,168,39],"10288198","tptacek",[170,39,39,164,171,39],"10289250","anjanb",[173,39,39,164,174,39],"10289929","wolf550e",[176,39,39,164,168,39],"10290901",[178,39,38,161,117,39],"10289004",[116,39,33,180,117,39],"project\u002Fpositive\u002Fidea",[64,34,33,180,65,39],[53,34,39,183,11,34],"maker\u002Fneutral\u002Fexecution",[137,145,38,161,138,39],[186,145,33,180,187,39],"10287748","steveklabnik",[80,38,38,189,81,39],"project\u002Fneutral\u002Fdocs",[149,38,39,183,11,34],[93,38,34,192,81,39],"project\u002Fcritical\u002Fexecution",[152,38,39,183,11,34],[84,38,38,195,81,39],"project\u002Fmixed\u002Fdocs",[197,38,39,183,11,34],"10290224",[87,38,38,189,81,39],[72,32,33,200,73,39],"project\u002Fpositive\u002Fnone",[],[203,208,212,217,222,227],{"id":204,"name":205,"points":206,"category":207},"10284321","Rhei",681,"hardware",{"id":209,"name":210,"points":211,"category":20},"10288249","Caramel",130,{"id":213,"name":214,"points":215,"category":216},"10276840","FreeGeoDB",108,"data",{"id":218,"name":219,"points":220,"category":221},"10297237","Promise Visualization Playground",61,"learning_science",{"id":223,"name":224,"points":225,"category":226},"10305918","Muki",57,"creative",{"id":228,"name":229,"points":230,"category":231},"10303402","New Yorker Map",49,"consumer_social",false,"v2",{"id":235,"name":5,"line":6,"ai":232,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":236,"top":18,"kw":237,"maker":11,"domain":10,"tier":19,"attempts":39,"strip":238,"url":9,"mix":239,"praise":60,"objection":77,"sub":21},10286852,0.3,[24,25,26,27,28],"30000035503530103035",[32,33,34,34],1794036535907]