[{"data":1,"prerenderedAt":291},["ShallowReactive",2],{"project-12137698":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":41,"post_text":42,"what":43,"said":84,"maker_in_thread":182,"shape":189,"grid":194,"attempts":253,"same_week":254,"maker_shows":282,"maker_hidden":283,"reader_version":284,"card":285},"12137698","kilo","A console-based editor with Lua support, based on antirez's project","title","Show HN: A console-based editor with Lua support, based on antirez's project","https:\u002F\u002Fgithub.com\u002Fskx\u002Fkilo\u002F","github.com","stevekemp",1469116677,2016,85,29,450,2264,20,"notable","dev_tools","text editor","cli",[24,25,26,27],"terminal editor","lua","console editor","kilo editor","curious",0.193,{"positive":31,"neutral":32,"mixed":33,"critical":34},3,5,0,1,9,{"idea":37,"execution":39,"docs":40},{"positive":38,"critical":34},2,{"positive":33,"critical":33},{"positive":34,"critical":33},[33,33,33,33,33,33,33,33,33,33,33,34,31,33,33,31,31,33,32,32,33,31,31,32,33,33,33,33,33],null,{"problem":44,"audience":42,"pricing":42,"motivation":53,"time_to_build":42,"stack":63,"openness":82,"stage":83,"team_size":83},{"value":45,"source":46,"evidence":47},"Provides a small, customizable console text editor scriptable in Lua.","maker",[48,50],{"id":49},"post",{"id":51,"by":11,"text":52},"12141422","I appreciate your thoughtful comment. As somebody who's spent the past year writing console-based applications with Lua it was immediately obvious to me that antirez's code was…",{"value":54,"source":46,"evidence":55},"Maker wanted an editor embeddable in their Lua-based mail client and enjoyed the process.",[56,59,62],{"id":57,"by":11,"text":58},"12141411","That will be my end-goal; an editor I can ship with my (lua-based) mail-client.",{"id":60,"by":11,"text":61},"12141406","I'm actually looking for an editor to embed inside my lua-based mail-client. Given the history of kilo (being inspired by nano, and that in turn coming from PICO & PINE) it is…",{"id":51,"by":11,"text":52},[64,72,76],{"value":65,"source":66,"evidence":67},"C","inferred",[68],{"id":69,"by":70,"text":71},"12139831","_vya7","Some of the comments here are really missing the point. antirez's original text editor was a full featured text editor -- meaning fully customizable (and fast!) syntax…",{"value":73,"source":46,"evidence":74},"Lua",[75],{"id":51,"by":11,"text":52},{"value":77,"source":46,"evidence":78},"LPeg",[79],{"id":80,"by":11,"text":81},"12195623","Belated update, but thanks for the tip. In the end I did indeed add syntax-highlighting via the use of the LPEG library.","open_source","unknown",{"praise":85,"objections":107,"requests":130,"questions":152,"alternatives":159},[86,99],{"value":87,"source":88,"evidence":89},"Clean, small, minimal codebase inspired by antirez's kilo","commenter",[90,91,95],{"id":69,"by":70,"text":71},{"id":92,"by":93,"text":94},"12138478","aktau","Just like the original kilo.c, I liked reading this. Thanks!",{"id":96,"by":97,"text":98},"12142489","AstroJetson","I like this. Take something useful like antirez's tiny editor, decide that it needs to have the ability to customize it, add Lua as a scripting support and off it goes. Two small…",{"value":100,"source":88,"evidence":101},"Good idea to add Lua scripting to a tiny editor",[102,103],{"id":96,"by":97,"text":98},{"id":104,"by":105,"text":106},"12139755","stcredzero","This would make it a good candidate for embedding.",[108,123],{"value":109,"source":88,"evidence":110},"Mature editors like Vim and Emacs have far larger plugin ecosystems",[111,115,119],{"id":112,"by":113,"text":114},"12140774","gkya","The point you miss is: there are thousands of packages for Emacs and Vim already. Emacs has all sorts of useful programs that you can run, a list too long to even summarize.…",{"id":116,"by":117,"text":118},"12140820","sdegutis","Those programs exist because people wrote them. And many are rewritten every day to replace those. Emacs does not have 40 years worth of plugins available. If one single person…",{"id":120,"by":121,"text":122},"12141401","protomikron","> This showed that fundamentally, a terminal-based text editor is trivial to build. I do not agree. There is a big difference between a proof-of-concept terminal-based text…",{"value":124,"source":88,"evidence":125},"Niche editors lack language support",[126],{"id":127,"by":128,"text":129},"12142219","technomancy","Atom did this with the backing of a very well-financed company, and it still doesn't fare all that well with niche languages. I agree with the general gist of your first post,…",[131,138,145],{"value":132,"source":88,"evidence":133},"Add a screenshot",[134],{"id":135,"by":136,"text":137},"12142011","greenspot","A screenshot would have been so nice.",{"value":139,"source":88,"evidence":140},"Provide a binary",[141],{"id":142,"by":143,"text":144},"12147768","childintime","With something this small a binary would be nice. Really nice.",{"value":146,"source":88,"evidence":147},"Use LPeg for syntax highlighting",[148],{"id":149,"by":150,"text":151},"12138560","cschmidt","Interesting. You should look into adopting Lpeg to do your syntax parsing and coloring, rather than defining all languages yourself. http:\u002F\u002Fwww.inf.puc-rio.br\u002F~roberto\u002Flpeg\u002F…",[153],{"value":154,"source":88,"evidence":155},"Why build this instead of Vim with Lua scripting?",[156],{"id":157,"by":105,"text":158},"12139126","So why this, instead of Vim with Lua scripting? Is this meant to be embeddable in the same sense Lua is meant to be?",[160,165,171,178],{"value":161,"source":88,"evidence":162},"Vim and Emacs",[163,164],{"id":69,"by":70,"text":71},{"id":157,"by":105,"text":158},{"value":166,"source":88,"evidence":167},"nvi and ex-vi",[168],{"id":169,"by":113,"text":170},"12140791","If you need vi for embedding, there are the ex-vi and the nvi projects, BTW. The latter with nex \"are intended as bug-for-bug compatible replacements for the original Fourth…",{"value":172,"source":88,"evidence":173},"howl editor and textadept",[174],{"id":175,"by":176,"text":177},"12146992","diaz","Another interesting editor I found recently previously mentioned on HN is howl editor - http:\u002F\u002Fhowl.io\u002F . Lua, lpeg lexing, fast. Another one is textadept -…",{"value":179,"source":88,"evidence":180},"Atom",[181],{"id":116,"by":117,"text":118},{"comments":32,"answered":34,"key":183},[184,185,186],{"id":51,"text":52},{"id":80,"text":81},{"id":187,"text":188},"12141402","Thanks.",{"commenters":190,"max_depth":191,"maker_replies":32,"first_comment_mins":192,"lifespan_hours":193},16,6,90,228,[195,197,199,200,202,203,205,208,210,214,215,217,221,223,226,227,229,230,231,234,236,238,240,243,244,245,248,249,252],[69,33,33,196,70,33],"other\u002Fneutral\u002Fidea",[112,33,33,198,113,33],"commenter\u002Fneutral\u002Fidea",[116,33,33,198,117,33],[201,33,33,198,113,33],"12140863",[127,33,33,198,128,33],[204,33,33,198,117,33],"12143440",[206,33,33,207,113,33],"12143940","commenter\u002Fcritical\u002Fidea",[209,33,33,207,128,33],"12147865",[211,33,33,212,213,33],"12142819","other\u002Fneutral\u002Fnone","hyperpallium",[120,33,33,207,121,33],[51,33,33,216,11,34],"maker\u002Fpositive\u002Fexecution",[218,33,34,219,220,33],"12141661","project\u002Fcritical\u002Fidea","ploxiln",[149,34,31,222,150,33],"maker\u002Fneutral\u002Fexecution",[224,34,33,225,117,33],"12139879","commenter\u002Fneutral\u002Fexecution",[80,34,33,222,11,34],[135,38,31,228,136,33],"project\u002Fneutral\u002Fdocs",[142,38,31,228,143,33],[175,31,33,212,176,33],[96,232,32,233,97,33],4,"project\u002Fpositive\u002Fidea",[92,32,32,235,93,33],"maker\u002Fpositive\u002Fdocs",[187,32,33,237,11,34],"maker\u002Fpositive\u002Fnone",[157,191,31,239,105,33],"project\u002Fneutral\u002Fidea",[241,191,31,239,242,33],"12139266","ajacksified",[104,191,32,233,105,33],[169,191,33,212,113,33],[246,191,33,247,105,33],"12141171","commenter\u002Fpositive\u002Fidea",[57,191,33,239,11,34],[250,191,33,251,117,33],"12139889","commenter\u002Fneutral\u002Fnone",[60,191,33,239,11,34],[],[255,260,265,270,274,278],{"id":256,"name":257,"points":258,"category":259},"12166687","Web Design in 4 minutes",1624,"learning_science",{"id":261,"name":262,"points":263,"category":264},"12136011","Riko",283,"languages",{"id":266,"name":267,"points":268,"category":269},"12159249","Kubernetes Certificate Manager",186,"infrastructure",{"id":271,"name":272,"points":273,"category":20},"12163689","github-widget",176,{"id":275,"name":276,"points":277,"category":264},"12175830","sha256-simd",156,{"id":279,"name":280,"points":192,"category":281},"12166370","EventQL","data",14,false,"v2",{"id":286,"name":5,"line":6,"ai":283,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":287,"top":18,"kw":288,"maker":11,"domain":10,"tier":19,"attempts":33,"strip":289,"url":9,"mix":290,"praise":87,"objection":109,"sub":21},12137698,0.19,[24,25,26,27],"00000000000130033055033500000",[31,32,33,34],1794036546043]