www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - How to make a lexical analyzer?

reply Jowei Dei <1365873325 qq.com> writes:
I would like to know if there are compiler building tools 
supporting D language, such as lexical analyzer generator, parser 
generator, etc. Thank you!
Jul 02 2020
parent Per =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
On Thursday, 2 July 2020 at 14:25:20 UTC, Jowei Dei wrote:
 I would like to know if there are compiler building tools 
 supporting D language, such as lexical analyzer generator, 
 parser generator, etc. Thank you!
Pegged was the first project. https://code.dlang.org/packages/pegged https://tour.dlang.org/tour/en/dub/pegged There may be more now.
Jul 02 2020