[{"data":1,"prerenderedAt":365},["ShallowReactive",2],{"project-6272294":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":44,"post_text":46,"what":47,"said":79,"maker_in_thread":230,"shape":239,"grid":242,"attempts":329,"same_week":330,"maker_shows":38,"maker_hidden":357,"reader_version":358,"card":359},"6272294","rhoScript","I designed a language for code golf, compiling to Common Lisp","title","Show HN: I designed a language for code golf, compiling to Common Lisp","http:\u002F\u002Fwww.rhoscript.com","rhoscript.com","n_c",1377443839,2013,102,40,225,1739,13,"notable","languages","concatenative programming language","other",[24,25,26,27,28],"code golf","concatenative language","common lisp","stack language","golf language","curious",-0.006,{"positive":32,"neutral":33,"mixed":32,"critical":34},3,10,4,20,{"idea":37,"design":40,"execution":41,"docs":42,"performance":43},{"positive":38,"critical":39},1,0,{"positive":38,"critical":32},{"positive":39,"critical":38},{"positive":38,"critical":39},{"positive":39,"critical":39},[32,39,32,39,45,32,38,39,39,39,38,32,39,38,39,32,39,45,32,39,32,32,39,32,39,39,39,39,32,39,45,39,32,32,32,39,39,39,38,39],5,null,{"problem":48,"audience":46,"pricing":46,"motivation":57,"time_to_build":46,"stack":65,"openness":77,"stage":78,"team_size":77},{"value":49,"source":50,"evidence":51},"Writing very short programs for code golf challenges.","maker",[52,54],{"id":53},"post",{"id":55,"by":11,"text":56},"6272682","(By \"common problems\" I assume you mean \"common codegolf problems\" and not \"common issues programmers encounter using it\" -- if you do mean the latter let me know.) The best…",{"value":58,"source":50,"evidence":59},"Built for code golf, and the author wanted to get better at Common Lisp.",[60,64],{"id":61,"by":62,"text":63},"6273096","emiljbs",">The last of the unimportant reasons is that we had never written a serious project in common lisp and wanted to get better at it. How was your experience with coding in CL?",{"id":55,"by":11,"text":56},[66,73],{"value":67,"source":50,"evidence":68},"Common Lisp",[69,70],{"id":53},{"id":71,"by":11,"text":72},"6274377","I found CL really nice. One nice feature about SBCL is it can be incredibly fast. Sure, not as fast as raw C, but it approaches it. (This is useful when you're using CL as your…",{"value":74,"source":50,"evidence":75},"SBCL",[76],{"id":71,"by":11,"text":72},"unknown","beta",{"praise":80,"objections":107,"requests":140,"questions":175,"alternatives":202},[81,97,101],{"value":82,"source":83,"evidence":84},"Interesting and fun concept, thought-provoking implementation","commenter",[85,89,93],{"id":86,"by":87,"text":88},"6272988","javajosh","1. I am new to the concept of golf code and stack based languages, but I find the concept, and the implementation, quite compelling. Thank you for doing this - it is…",{"id":90,"by":91,"text":92},"6272406","wging","This isn't really substantive feedback about the language, but this is a magnificent bit of fun, even if I can't figure out any time I'd want to use it :)",{"id":94,"by":95,"text":96},"6272689","pestaa","This is the first time I've seen dynamic typing arising from simple systems as opposed to making the implementation more complex. Beautiful!",{"value":98,"source":83,"evidence":99},"Arithmetic encoding makes dynamic typing emerge from a simple design",[100],{"id":94,"by":95,"text":96},{"value":102,"source":83,"evidence":103},"Readable compared to K golf solutions",[104],{"id":105,"by":87,"text":106},"6273150","> qn:{[n],\u002F{:[n=#x;,x;,\u002F_f'f x,\\:\u002F:(!n)_dvl,\u002Fx]}'(f:0 -1 1+\u002F:)@!n} bd:{[p]`0:\".Q\"p=\\:!#p} One of the reasons golf never interested me is because people kept making these totally…",[108,115,126,130],{"value":109,"source":83,"evidence":110},"Try page did not run programs correctly at first",[111,112],{"id":86,"by":87,"text":88},{"id":113,"by":87,"text":114},"6273104","Ah, ok. That answers another question I had which was why you added a run keyword at all when it was so repetitive! I'd left out the run keyword before, but was confronted with…",{"value":116,"source":83,"evidence":117},"Dynamic typing of functions makes reasoning hard",[118,122],{"id":119,"by":120,"text":121},"6272825","fosap","IMO a types stack languages does not make much sense. If the stack side effect is typed a function does alway have to return the same number of arguments and consume the same…",{"id":123,"by":124,"text":125},"6273568","evincarofautumn","Dynamic stack effects are pretty hard to reason about in nontrivial programs. Even Factor, which is largely dynamic wrt typing and dispatch, has a very limited number of words…",{"value":127,"source":83,"evidence":128},"Hard to see a practical use beyond fun",[129],{"id":90,"by":91,"text":92},{"value":131,"source":83,"evidence":132},"Rho symbol fails to render without a font",[133,137],{"id":134,"by":135,"text":136},"6273061","bkurtz13","Rho symbol isn't loading for me in Chrome, v.29",{"id":138,"by":120,"text":139},"6273396","That is probably because you have no font installed with a rho in it.",[141,151,158,168],{"value":142,"source":83,"evidence":143},"Pretty-printed input support",[144,148],{"id":145,"by":146,"text":147},"6272920","fsck--off","Is there support for pretty-printed input? I'm hesitant to mention this since it doesn't really take away from your project, but \"concatinatitive\" should be spelled…",{"id":149,"by":11,"text":150},"6272955","Not yet, that's definitely a priority though. Well that's embarrassing! (fixed)",{"value":152,"source":83,"evidence":153},"Support for typeclasses or typed polymorphism",[154],{"id":155,"by":156,"text":157},"6272793","tel","From a Haskell background I want to suggest typeclass mechanisms to enable valid polymorphism types. The compiled form can be the same, but the classes help to note that the…",{"value":159,"source":83,"evidence":160},"Fair byte-for-byte comparison with APL, K and J",[161,165],{"id":162,"by":163,"text":164},"6273101","nonchalance","I'd like to see a true apples to apples comparison (you can also save characters in J if you simplify the output requirements)",{"id":166,"by":11,"text":167},"6273305","Yeah, I hope at some point to do that. I expect only a few bytes need to be added to make the outputs be exactly identical. Almost all code-golf programs will be correct output…",{"value":169,"source":83,"evidence":170},"Genetic programming use of the language",[171],{"id":172,"by":173,"text":174},"6274224","mcherm","I have always thought that a language optimized for code golf, like this one, would be ideal to use for evolving programs. Use genetic algorithms to modify possible program…",[176,186,193],{"value":177,"source":83,"evidence":178},"How does its execution model differ from Factor or Joy?",[179,183],{"id":180,"by":181,"text":182},"6272433","jdp","Nice implementation of a concatenative language, and the relatively robust standard library it already has is nice. Is there anything different about its execution model from…",{"id":184,"by":11,"text":185},"6272513","The execution model of rhoScript isn't so different from that of any other concatenative language. There are two differences I can think of at the moment: - The lazyness of…",{"value":187,"source":83,"evidence":188},"How does it compare to APL, K or J on common problems?",[189,192],{"id":190,"by":163,"text":191},"6272473","How does it compare to APL\u002FK+\u002FJ for some common problems?",{"id":55,"by":11,"text":56},{"value":194,"source":83,"evidence":195},"How is the typing done, similar to Cat?",[196,199],{"id":197,"by":156,"text":198},"6272539","How are you doing the concatenation typing? Is it like Cat's type system? http:\u002F\u002Fcat-language.com\u002F",{"id":200,"by":11,"text":201},"6272620","It's very similar. There are major differences with how functions are typed, however. Namely, in Cat, they are, and in this, they are not. There's a good reason for that, though!…",[203,207,214,222],{"value":204,"source":83,"evidence":205},"F and XY concatenative golf languages",[206],{"id":180,"by":181,"text":182},{"value":208,"source":83,"evidence":209},"GolfScript",[210],{"id":211,"by":212,"text":213},"6274356","hk__2","This reminds me of GolfScript [1], another language designed specifically for code golf. [1]: http:\u002F\u002Fwww.golfscript.com\u002Fgolfscript\u002F",{"value":215,"source":83,"evidence":216},"K and J array languages",[217,221],{"id":218,"by":219,"text":220},"6273050","beagle3","K notation is a bit longer: generalized n queen with board display is qn:{[n],\u002F{:[n=#x;,x;,\u002F_f'f x,\\:\u002F:(!n)_dvl,\u002Fx]}'(f:0 -1 1+\u002F:)@!n} bd:{[p]`0:\".Q\"p=\\:!#p} (see…",{"id":190,"by":163,"text":191},{"value":223,"source":83,"evidence":224},"Factor and Joy",[225,226],{"id":180,"by":181,"text":182},{"id":227,"by":228,"text":229},"6272945","brandonbloom","Factor's typing discipline is largely dynamic. However, they enforce the usage of annotations for higher order operations (recursive and inline) and strongly encourage the use of…",{"comments":231,"answered":232,"key":233},9,6,[234,235,236],{"id":184,"text":185},{"id":200,"text":201},{"id":237,"text":238},"6273000","re: the try.html page: don't include the \"run\" word. That's just a button I put on the pages to send you there automatically. ``` \"hello\" print ```",{"commenters":240,"max_depth":241,"maker_replies":231,"first_comment_mins":32,"lifespan_hours":35},22,7,[243,245,247,248,250,252,254,256,258,260,262,263,265,267,269,272,274,277,279,281,282,284,286,288,289,291,293,297,299,300,302,306,309,311,314,317,319,323,326,328],[180,39,32,244,181,39],"project\u002Fneutral\u002Fidea",[184,39,39,246,11,38],"maker\u002Fneutral\u002Fdesign",[197,39,32,246,156,39],[200,39,39,249,11,38],"maker\u002Fpositive\u002Fdesign",[94,39,45,251,95,39],"project\u002Fpositive\u002Fdesign",[155,39,32,253,156,39],"project\u002Fneutral\u002Fdesign",[119,39,38,255,120,39],"project\u002Fcritical\u002Fdesign",[227,39,39,257,228,39],"commenter\u002Fneutral\u002Fdesign",[259,39,39,257,120,39],"6273717",[261,39,39,257,228,39],"6273779",[123,39,38,255,124,39],[86,38,32,264,87,39],"project\u002Fmixed\u002Fexecution",[237,38,39,266,11,38],"maker\u002Fneutral\u002Fdocs",[113,38,38,268,87,39],"project\u002Fcritical\u002Fexecution",[270,38,39,271,11,38],"6273196","project\u002Fneutral\u002Fexecution",[172,273,32,244,173,39],2,[275,32,39,276,11,38],"6272306","maker\u002Fneutral\u002Fnone",[90,32,45,278,91,39],"project\u002Fpositive\u002Fidea",[145,32,32,280,146,39],"project\u002Fmixed\u002Fdocs",[149,32,39,266,11,38],[283,34,32,244,120,39],"6272773",[190,45,32,285,163,39],"project\u002Fneutral\u002Fperformance",[55,45,39,287,11,38],"project\u002Fpositive\u002Fperformance",[162,45,32,285,163,39],[166,45,39,290,11,38],"maker\u002Fneutral\u002Fperformance",[218,232,39,292,219,39],"other\u002Fneutral\u002Fperformance",[294,232,39,295,296,39],"6273120","commenter\u002Fneutral\u002Fnone","stkni",[298,232,39,295,219,39],"6273660",[105,232,32,280,87,39],[301,232,39,295,219,39],"6273694",[303,241,45,304,305,39],"6275256","project\u002Fpositive\u002Fdocs","pjdorrell",[211,307,39,308,212,39],8,"other\u002Fneutral\u002Fnone",[61,231,32,310,62,39],"maker\u002Fneutral\u002Fexecution",[312,231,32,310,313,39],"6273805","betterunix",[315,231,32,310,316,39],"6276237","fabriceleal",[71,231,39,318,11,38],"maker\u002Fpositive\u002Fexecution",[320,33,39,321,322,39],"6273936","other\u002Fneutral\u002Fidea","woah",[324,33,39,295,325,39],"6274306","recursive",[134,327,38,255,135,39],11,[138,327,39,257,120,39],[],[331,335,340,344,349,354],{"id":332,"name":333,"points":334,"category":20},"6279380","Wikipedia",218,{"id":336,"name":337,"points":338,"category":339},"6270451","AdminJS",119,"dev_tools",{"id":341,"name":342,"points":343,"category":339},"6290247","UIBox",118,{"id":345,"name":346,"points":347,"category":348},"6276449","Popped At",85,"consumer_social",{"id":350,"name":351,"points":352,"category":353},"6272017","Contacts",47,"web_saas",{"id":355,"name":356,"points":15,"category":339},"6284294","EngineHere",false,"v2",{"id":360,"name":5,"line":6,"ai":357,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":361,"top":18,"kw":362,"maker":11,"domain":10,"tier":19,"attempts":39,"strip":363,"url":9,"mix":364,"praise":82,"objection":109,"sub":21},6272294,-0.01,[24,25,26,27,28],"3030531000130103053033030000305033300010",[32,33,32,34],1794036509012]