{"added":null,"apiVersion":1,"behindSince":"2026-07-23","buildDepends":[],"categories":["devel"],"comment":"Lexer generator for C, C++ and Go with a focus on generating fast code","compare":"/compare/re2c/index.json","dependentCount":null,"description":"Re2c is a free and open-source lexer generator for C, C++ and Go with a\nfocus on generating fast code. It compiles regular expression\nspecifications to deterministic finite automata and encodes them in the\nform of conditional jumps in the target language. This approach is\ngenerally faster than table-based lexers, and the generated code is easier\nto debug and understand. A flexible user interface allows one to adapt the\ngenerated lexer to a particular environment and input model, avoiding the\noverhead on unnecessary checks and buffers. Re2c is based on the lookahead\nTDFA algorithm that allows it to perform fast and lightweight submatch\nextraction.","flavors":[],"html":"https://daemonports.org/midnightbsd/devel/re2c/","kind":"port","lastUpdate":null,"license":["publicdom"],"maintainer":"ports@MidnightBSD.org","name":"re2c","newest":false,"newestVersion":"4.6","noVulnData":true,"origin":"devel/re2c","otherSystems":[{"maintainer":"sunpoet@FreeBSD.org","newest":true,"origin":"devel/re2c","path":"/devel/re2c/","system":"FreeBSD","updated":"2026-09-09","version":"4.6"},{"maintainer":"The OpenBSD ports mailing-list \u003cports@openbsd.org\u003e","newest":true,"noVulnData":true,"origin":"devel/re2c","path":"/openbsd/devel/re2c/","system":"OpenBSD","updated":"2026-09-03","version":"4.6"},{"maintainer":"pkgsrc-users@NetBSD.org","newest":true,"origin":"devel/re2c","path":"/netbsd/devel/re2c/","system":"NetBSD","updated":"2026-08-30","version":"4.6","vulnCount":1},{"behindSince":"2026-07-23","maintainer":"chalpin@cs.wisc.edu","origin":"devel/re2c","path":"/dragonfly/devel/re2c/","system":"DragonFly","version":"4.1"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/re2c","path":"","system":"HardenedBSD","version":"4.6"},{"maintainer":"sunpoet@FreeBSD.org","newest":true,"noVulnData":true,"origin":"devel/re2c","path":"","system":"GhostBSD","version":"4.6"}],"packages":null,"pkgName":"re2c-4.1_1","related":null,"repository":"mports","requiredBy":["mail/spamassassin"],"requiredByCount":1,"runDepends":[],"status":null,"system":"midnightbsd","systemLabel":"MidnightBSD","version":"4.1_1","versions":null,"vulnerabilities":null,"www":"https://re2c.org/"}
