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

Good luck writing a macro in C to express language functionality for which you don't have the primitives. It's not exactly lisp. Think of C macros as a way to save you some typing and lisp macros as a way to extend the language.


setjmp and longjmp are sufficient building blocks for this.


you can definitely save the chdir and restore it macro.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: