News for hackers. Stuff that matters.
Re:A project with a single 11,000-line code file by m1ckey on Sunday April 03, 2022 @02:52PM (#30899567)
Re:A project with a single 11,000-line code file by TimTheTinker on Sunday April 03, 2022 @03:07PM (#30899684)
Someone please tell me this is transpiled from a separate project.
Re:A project with a single 11,000-line code file by liversage on Sunday April 03, 2022 @05:26PM (#30900833)
It's originally written in LISP and this is why it's a single C++ file. However, I believe that it's now being maintained in its C++ form.
Re:A project with a single 11,000-line code file by phyrex on Sunday April 03, 2022 @04:45PM (#30900474)
If I remember correctly it was in fact written in Common Lisp; the output was originally that file but it may have been modified since. You can probably google the truth with those breadcrumbs :)
Re:A project with a single 11,000-line code file by rahimiali on Sunday April 03, 2022 @06:22PM (#30901315)
Python's main interpreter loop is a single 4k line function.

https://github.com/python/cpython/blob/main/Python/ceval.c#L...