Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は最近、Racket で遊んでいます。現在、スクリプト言語のサブセット用のレクサーを実装しています...Racket でレクサー ジェネレーターを使用する方法を示す例がもっとあるのではないかと考えています。
ドキュメントの電卓の例は理解できますが、単純すぎてすべての機能を表示できません...各文字の位置を参照する方法に特に興味があります....
PLaneT のライブラリは、より精巧な例の優れたリソースです。たとえば、Infix Parserを試してください。