Last Week in Pony - March 14, 2021

Sunday, March 14, 2021 | Posted in Last Week in Pony

We’re migrating the Pony Tutorial and Pony Patterns to MkDocs-Material. There’s a new tool for interactively exploring the Pony AST from a debugger. ponylang/http has been updated.

Items of note

  • The Pony Patterns website and the Pony tutorial website have been switched to being built using Hugo to Mkdocs. With Hugo, we were maintaining our own theme. With the switch to Mkdocs, we can use mkdocs-material that receives far more attention and love than our little handrolled Hugo one. Take a spin and check them out. (Did we mention “dark mode”?)

  • AST explorer is a new tool to interactively explore ponyc’s abstract syntax tree. It visualizes the AST in your terminal and you can zoom out to parent nodes or follow data references. And it runs directly in GDB or LLDB, so you use it to step through any AST during compilation.

Releases

  • Version 0.2.8 of ponylang/http has been released. See the release notes for more details.

  • Version 0.2.0 of ponylang/readme-version-updater-action has been released. See the release notes for more details.

  • Version 0.5.0 of ponylang/release-bot-action has been released. See the release notes for more details.


@EpicEric writes:

Hi! We’re working on migrating the Pony Tutorial and Pony Patterns to MkDocs-Material, which uses Pygments as the syntax highlighter. The Pony lexer already exists but it was last updated in 2016 (!!), so it could use some updates if you have some Python knowledge and some free time.

As a base, you can use the HighlightJS implementation of a Pony highlighter, which is more up-to-date and still used/tested today, eg. for library docgen.


Last Week In Pony is a weekly blog post to catch you up on the latest news for the Pony programming language. To learn more about Pony check out our website, our Twitter account @ponylang, or our Zulip community.

Got something you think should be featured? There’s a GitHub issue for that! Add a comment to the open “Last Week in Pony” issue.

Interested in making a change, or keeping up with changes to Pony? Check out the RFC repo. Contributors welcome!

AUTHOR

Theo Butler

Theo is a member of the Pony core team and student at Drexel University. His interests include persistent data structures, programming languages, and writing software while listening to Swancore.