[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$f1nptqda5i48to":3},{"_id":4,"slug":5,"title":6,"subtitle":7,"kind":8,"cards":9,"tags":43,"categories":45,"source":47,"lang":50,"author":51,"audioState":54,"stats":55,"publishedAt":58,"renderer":59},"6abc9d08ca21c797c7ea0312","github---zhuzhonghuadummyscheme-another-portable-embeddable-03480650","GitHub - zhuzhonghua\u002Fdummyscheme: another portable, embeddable Lisp\u002FScheme implementation based on a register-oriented…","A portable, embeddable Scheme implementation based on a register-oriented bytecode vm","news",[10,13,18,23,28,33,38],{"headline":11,"body":7,"imageUrl":12,"sourceImageUrl":12},"GitHub - zhuzhonghua\u002Fdummyscheme: another portable, embeddable Lisp\u002FScheme…","https:\u002F\u002Fopengraph.githubassets.com\u002Fe86d93c1ceca16bbedf0f1a4df6ef446462ea293913d9bdc095303b2905e7df5\u002Fzhuzhonghua\u002Fdummyscheme",{"headline":14,"body":15,"imageUrl":16,"images":17},"I have many years of work experiences in","I have many years of work experiences in game programming, especially backend. Lua is so pupular in the game industry, and also in many other areas. I like SICP very much, and have read the article The Roots Of Lisp and the book \"Hackers and Painters\". Lisp is highly praised. I want to have a scheme implementation that's like lua, a vm register and bytecode-based with line level debug info","\u002Fapi\u002Fmedia\u002Fposts\u002Fgithub---zhuzhonghuadummyscheme-another-portable-embeddable-03480650\u002F1.webp",{"local":16},{"headline":19,"body":20,"imageUrl":21,"images":22},"It could be easily embed to many host","It could be easily embed to many host programs, only need to copy some .h\u002F.cpp files to compile together, and write stubs Bytecode compiler with register-based instruction set","\u002Fapi\u002Fmedia\u002Fposts\u002Fgithub---zhuzhonghuadummyscheme-another-portable-embeddable-03480650\u002F2.webp",{"local":21},{"headline":24,"body":25,"imageUrl":26,"images":27},"First-class continuations (call\u002Fcc) multi-short, unlimited, use the method","First-class continuations (call\u002Fcc) multi-short, unlimited, use the method copy-on-write of the callframes. delimited continuation will be supported in the near future too Flatten box value(inspired by Lua) no chain, box the stack value if captured by inner lambda Stack segment technique for continuation capture and chain walking, inspired by Chez Scheme Two-halves incremental generational GC (partially implemented, not used currently) syntax-rules hygienic macros custom ellipsis is also supported Number tower bignum is supported too Line-level debug info with source location tracking","\u002Fapi\u002Fmedia\u002Fposts\u002Fgithub---zhuzhonghuadummyscheme-another-portable-embeddable-03480650\u002F3.webp",{"local":26},{"headline":29,"body":30,"imageUrl":31,"images":32},"Lua-like embeddability and portability: platform-independent, easy to integrate","Lua-like embeddability and portability: platform-independent, easy to integrate into C\u002FC++ host applications (windows, linux, mac, ios, android, any platform where there is a c99\u002Fc++98 compiliance compiler) Full tests passed with r4rstest (pass SCHEME_STD_R4RS=1) and r5rs-tests","\u002Fapi\u002Fmedia\u002Fposts\u002Fgithub---zhuzhonghuadummyscheme-another-portable-embeddable-03480650\u002F4.webp",{"local":31},{"headline":34,"body":35,"imageUrl":36,"images":37},"dynamic-wind support netsted with call\u002Fcc, jump to(out) dynamic-wind's","dynamic-wind support netsted with call\u002Fcc, jump to(out) dynamic-wind's thunk\u002Fbody allow to jump out dynamic-wind's before and after, but jumping into is not forbidden no transcript-on \u002F transcript-off no eval but has vm->evalstr","\u002Fapi\u002Fmedia\u002Fposts\u002Fgithub---zhuzhonghuadummyscheme-another-portable-embeddable-03480650\u002F5.webp",{"local":36},{"headline":39,"body":40,"imageUrl":41,"images":42},"hash-table (inspired by lua) (make-hash-table) (hash-table-ref table key)","hash-table (inspired by lua) (make-hash-table) (hash-table-ref table key) (hash-table-set! table key val) (hash-table-for-each (lambda (key val) xxx) table) -1. to test scheme code, please refer to r4rstest.scm, r5rs-tests.scm, aftertest.scm in the project copy *.cpp\u002Fh to your project except main.cpp or use custom malloc\u002Ffree R5RS with no extra setting(default) R4RS with the macro SCHEME_STD_R4RS(mainly about the SYMBOL upcase conversion) Optimization and features are endless","\u002Fapi\u002Fmedia\u002Fposts\u002Fgithub---zhuzhonghuadummyscheme-another-portable-embeddable-03480650\u002F6.webp",{"local":41},[44],"dev",[46],"Technology",{"name":48,"url":49},"Show HN","https:\u002F\u002Fgithub.com\u002Fzhuzhonghua\u002Fdummyscheme","en",{"handle":52,"displayName":53},"spots","Spots","queued",{"views":56,"likes":57,"saves":57,"shares":57,"completions":57,"opens":57,"skips":57,"depthSum":57},1,0,"2026-09-30T05:24:24.754Z","local"]