trip report: Duff AWK (Miscellaneous)
Hello bencollver,
Truly, the code needs a rewrite to depend only on POSIX lex features! 
I will not worry too much about yylex.c... For flex (and presumably POSIX lex in general), the routines inside yylex.c should either be defined inside the generated scanner code, or in the libl.a library (via -ll).
And, I think your above-linked source code assumes semantics of input () which are different from POSIX lex.
Thank you!
---
https://codeberg.org/tkchia · https://disroot.org/tkchia · 😴 "MOV AX,0D500H+CMOS_REG_D+NMI"
Complete thread:
- trip report: Duff AWK - bencollver, 27.01.2026, 03:04 (Miscellaneous)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- trip report: Duff AWK - tkchia, 27.01.2026, 18:12
- trip report: Duff AWK - bencollver, 27.01.2026, 19:08
- trip report: Duff AWK - Rugxulo, 07.02.2026, 01:21
- trip report: Duff AWK - roytam, 10.02.2026, 07:17
- trip report: Duff AWK - bencollver, 11.02.2026, 00:32
- trip report: Duff AWK - roytam, 10.02.2026, 07:17
- trip report: Duff AWK - tkchia, 27.01.2026, 18:12
Mix view