[{"data":1,"prerenderedAt":207},["ShallowReactive",2],{"project-11279216":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":28,"sentiment":29,"stance_mix":30,"scored_comments":35,"aspects":36,"strip":40,"post_text":42,"what":43,"said":65,"maker_in_thread":123,"shape":130,"grid":134,"attempts":170,"same_week":171,"maker_shows":41,"maker_hidden":199,"reader_version":200,"card":201},"11279216","pseudo","Automated algorithm translation for Python, C++, C#, JS","title","Show HN: Automated algorithm translation for Python, C++, C#, JS","https:\u002F\u002Fgithub.com\u002Falehander42\u002Fpseudo","github.com","alehander42",1457901002,2016,142,14,243,2264,11,"notable","languages","code translation","library",[21,24,25,26,27],"transpiler","python","intermediate representation","code generation","curious",0.211,{"positive":31,"neutral":32,"mixed":33,"critical":34},3,4,0,1,8,{"design":37,"idea":38,"docs":39},{"positive":33,"critical":34},{"positive":31,"critical":33},{"positive":33,"critical":33},[34,31,33,31,31,33,33,41,33,41,31,33,33,41],5,null,{"problem":44,"audience":42,"pricing":42,"motivation":42,"time_to_build":42,"stack":51,"openness":63,"stage":64,"team_size":63},{"value":45,"source":46,"evidence":47},"Translating code between languages while keeping idiomatic, readable output","maker",[48],{"id":49,"by":11,"text":50},"11281919","Thank you. The goal of Pseudo is to create idiomatic and readable code in the target language, it should look exactly as a human wrote it in order to be useful for bootstrapping…",[52,57],{"value":53,"source":54,"evidence":55},"Python","commenter",[56],{"id":49,"by":11,"text":50},{"value":58,"source":46,"evidence":59},"YAML (intermediate AST format)",[60],{"id":61,"by":11,"text":62},"11280296","Yep, you're not supposed to write the yaml yourself, it's just a compilation target and an intermediate format. Why YAML then? Well it's still nice to be able to read it easily…","unknown","prototype",{"praise":66,"objections":85,"requests":94,"questions":99,"alternatives":111},[67,78],{"value":68,"source":54,"evidence":69},"Useful idea for bootstrapping codebases and maintaining multi-language code",[70,74],{"id":71,"by":72,"text":73},"11280769","legutierr","I really like this and think it could be very useful. You're really on a roll, alehander42, with pseudo and hivemind both on the HN front page the same weekend. Regarding pseudo,…",{"id":75,"by":76,"text":77},"11281219","alextgordon","Totally awesome! I was just about to make exactly this tomorrow, now I don't need to. My problem is that I would like to generate wrappers for an API, in a variety of popular…",{"value":79,"source":54,"evidence":80},"Output looks neat and idiomatic",[81],{"id":82,"by":83,"text":84},"11279548","orf","I don't get this. Heres Fibonacci[1] in only 74 lines of YAML, or how about some kind of football CLI program[2] in only ~600 lines of YAML. I've got no idea why anyone would use…",[86,90],{"value":87,"source":54,"evidence":88},"Writing intermediate YAML is verbose and pointless for small outputs",[89],{"id":82,"by":83,"text":84},{"value":91,"source":54,"evidence":92},"YAML choice questioned for the AST",[93],{"id":82,"by":83,"text":84},[95],{"value":96,"source":54,"evidence":97},"Support for more languages such as Java, Swift, PHP, Perl, C",[98],{"id":71,"by":72,"text":73},[100,104],{"value":101,"source":54,"evidence":102},"How is testing done to verify generated code compiles and runs",[103],{"id":71,"by":72,"text":73},{"value":105,"source":54,"evidence":106},"How does it differ from Haxe",[107],{"id":108,"by":109,"text":110},"11281679","dosshell","It looks awesome! I really like the idé to write once and compile to everything. However I do not have much experience in this field. How does this differ from the current…",[112,116],{"value":113,"source":54,"evidence":114},"Haxe",[115],{"id":108,"by":109,"text":110},{"value":117,"source":54,"evidence":118},"Coq to OCaml\u002FHaskell translation",[119],{"id":120,"by":121,"text":122},"11279917","ycmbntrthrwaway","Coq can be translated to Ocaml and Haskell: https:\u002F\u002Fcoq.inria.fr\u002Ffaq#htoc181 Ocaml can be translated back to Coq: https:\u002F\u002Fgithub.com\u002Fclarus\u002Fcoq-of-ocaml",{"comments":32,"answered":31,"key":124},[125,126,129],{"id":61,"text":62},{"id":127,"text":128},"11281488","Oh yes, my plans for v0.3 include adding support for at least 2-3 of Java, Swift, PHP, Perl and C. My goal with the first 5 was to choose several very different languages in…",{"id":49,"text":50},{"commenters":131,"max_depth":31,"maker_replies":32,"first_comment_mins":132,"lifespan_hours":133},10,88,40,[135,137,141,145,149,151,153,155,158,160,162,163,164,167],[82,33,34,136,83,33],"project\u002Fcritical\u002Fdesign",[138,33,31,139,140,33],"11279587","project\u002Fneutral\u002Fidea","elcapitan",[142,33,33,143,144,33],"11281146","commenter\u002Fneutral\u002Fnone","techdragon",[146,33,31,147,148,33],"11279677","project\u002Fneutral\u002Fdocs","pests",[150,33,31,147,121,33],"11279907",[61,33,33,152,11,34],"project\u002Fneutral\u002Fdesign",[120,34,33,154,121,33],"other\u002Fneutral\u002Fnone",[71,156,41,157,72,33],2,"maker\u002Fpositive\u002Fidea",[127,156,33,159,11,34],"maker\u002Fpositive\u002Fexecution",[75,31,41,161,76,33],"project\u002Fpositive\u002Fidea",[108,32,31,139,109,33],[49,32,33,139,11,34],[165,32,33,166,11,34],"11281926","project\u002Fneutral\u002Fexecution",[168,41,41,161,169,33],"11289115","dkarp",[],[172,177,182,186,190,194],{"id":173,"name":174,"points":175,"category":176},"11290720","Podcat",401,"productivity",{"id":178,"name":179,"points":180,"category":181},"11287540","amplify",279,"dev_tools",{"id":183,"name":184,"points":185,"category":181},"11283978","Zube 1.0",206,{"id":187,"name":188,"points":189,"category":181},"11261953","GitHub News (gitlogs)",184,{"id":191,"name":192,"points":193,"category":181},"11260956","Spotbot",179,{"id":195,"name":196,"points":197,"category":198},"11282344","CodeMill",169,"web_saas",false,"v2",{"id":202,"name":5,"line":6,"ai":199,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":203,"top":18,"kw":204,"maker":11,"domain":10,"tier":19,"attempts":33,"strip":205,"url":9,"mix":206,"praise":68,"objection":87,"sub":21},11279216,0.21,[21,24,25,26,27],"13033005053005",[31,32,33,34],1793990939982]