3 ms·
A pretty simple hand-cobbled-together chunk of Python: https://github.com/munificent/craftinginterpreters/blob/master/util/build.py https://github.com/munifice
by munificent 9y ago
A pretty simple hand-cobbled-together chunk of Python:
https://github.com/munificent/craftinginterpreters/blob/master/util/build.py https://github.com/munificent/craftinginterpreters/blob/mast...
It's more complex than the build script[1] for my previous book[2], but still pretty simple. There's a real luxury in writing a program that literally only has to run on one single set of input data. A whole lot of things get easier.
[1]: https://github.com/munificent/game-programming-patterns/blob/master/script/format.py https://github.com/munificent/game-programming-patterns/blob...
[2]: http://gameprogrammingpatterns.com/ http://gameprogrammingpatterns.com/