Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I was wondering what the goal of the project is. The README is not very clear on it, but the implementation document [1] does state design goals:

- Small memory usage within a fixed-sized memory region — no mallocs

- Practical for small scripts (extension scripts, config files)

- Concise source — less than 1000 loc

- Portable ANSI C (Windows, Linux, DOS — 32 and 64bit)

- Simple and easy to understand source

- Simple and easy to use C API

[1] https://github.com/rxi/fe/blob/master/doc/impl.md



> - Portable ANSI C (Windows, Linux, DOS — 32 and 64bit)

I skimmed through the source, and aside from reading a file from STDIN to a `static char buf[64000];`, nothing in this seems to use the POSIX API. With that buffer trimmed to an appropriate length, it appears it could run on a microcontroller, which is always a useful thing to have.


The author developed some games. Maybe the goal of fe is to write game scripts.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: