News for hackers. Stuff that matters.
Re:Show HN: Ape – an easy-to-embed programming language in t... by cryptonector on Monday March 30, 2020 @07:59PM (#22733500)
I mean, it's also true of SQLite3.
Re:Show HN: Ape – an easy-to-embed programming language in t... by _vdpp on Monday March 30, 2020 @09:07PM (#22734007)
I think you're talking about "The SQLite Amalgamation" - https://www.sqlite.org/amalgamation.html. I hadn't heard of it before, so thanks for encouraging me to look it up - seems like it might come in handy!
Re:Show HN: Ape – an easy-to-embed programming language in t... by kgabis on Tuesday March 31, 2020 @03:38AM (#22735605)
I'm using a python script and a template to merge source files into ape.c so it's quite similar to sqlite's amalgamation. It's not as simple as joining a lot of files together though because there are dependencies between files and all global variables and functions need to be declared static.