Skip to main content
Red Dove Consultants Blog
  • Archive
  • RSS feed
Search results will appear below.
  • About

Child nodes can now be named in JavaCC21 ASTs

Red Dove Consultants

2022-06-17 06:07 (updated 2023-01-17 06:49)

Comments

We've just added a new feature to JavaCC21 (soon to be renamed CongoCC) – the ability to access child nodes of an AST node by name. In this post, we'll discuss why that's useful and how to use the feature.

Read more…

Untangle - A helper for Wordle-style puzzles

Red Dove Consultants

2022-05-08 07:38 (updated 2022-05-10 19:25)

Comments

Since being released in late 2021, the game Wordle seems to have taken the Internet by storm, spawning a host of similar games such as Dordle, Quordle, Octordle and Sedecordle, each of which presents a number of Wordle-like instances to be solved together.

In this post, we'll look at Untangle, a tool which helps in solving these puzzles.

Read more…

Recursive Descent Parsing in Python

Red Dove Consultants

2021-08-12 10:52

Comments

There's a useful list of Python parsing tools maintained by Michael Bernstein. However, it doesn't contain a close equivalent of the tool we've used in the past when developing lexers and parsers in Java: JavaCC. In this post, we'll look at what's nice about JavaCC, and how recent developments in it make it feasible to create parsers with it in Python, with no external dependencies!

Read more…

Contents © 2021–2023 Red Dove Consultants License: Creative Commons Licence (CC BY-NC-SA 4.0 International License)