News for hackers. Stuff that matters.
Re:Show HN: Ape – an easy-to-embed programming language in t... by huhtenberg on Monday March 30, 2020 @07:18PM (#22733163)
Good stuff, but the "two files" qualifier is somewhat misleading if one of them is almost 350KB ;)
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.
Re:Show HN: Ape – an easy-to-embed programming language in t... by smartstakestime on Monday March 30, 2020 @09:06PM (#22734003)
no its not. What did you expect? I thought it would lack features but the 350kb makes me think that its actually a nice generic lib set for C.

Basically syntactic sugar taken a step further.