logoalt Hacker News

saulpwyesterday at 6:10 PM1 replyview on HN

> The build-time "yacc and lex"-based level compiler, the "yacc and lex"-based dungeon compiler, and the quest text file processing previously done by NetHack's "makedefs" utility, have been replaced with Lua text alternatives that are loaded and processed by the game during play.

This is very likely a good choice for multiple reasons, but it's truly the end of an era. (NetHack predates Lua, which has been around since 1993.) Lex and yacc are dead, long live lex and yacc!


Replies

anthkyesterday at 8:59 PM

Lua is not on base on most distros, that's sad. Also it stops being as portable.

By Amiga 68k platforms then. And maybe DOS.

Also, there no official Nethack i686 builds.

If I were them I'd try some micro-language from https://t3x.org as a pre-processor and bundle it. The T3X0 language itself can do wonders and even be ported to DOS with ease.

EDIT: ok, Lua can be portable and even they got DOS ports, this is great.

show 5 replies