home ~ projects ~ socials

An Early Version Of Neopolitan

The parser I built for Neopolitan (my plain-text file format) is rolled into the code base of Neopoligen (my static site generator)1. I'm starting to split it out so I can use it for more things2.

While archiving earlier work on Neopolitan I found this example of a previous iteration of the format:

A screenshot of a example of of a Neopolitan document that made the home page for the website at the time. There's a bunch of introduction text that uses the old style '->' tokens to separate sections and two '>' for attributes.

The basic idea of using sections with attributes hasn't changed since the earliest iterations. The markers used to demarcate them has. Take the note in the image for example. It used to look like this:

-> note
>> title: A Quick Heads-Up

Today, it would be:

-- note
-- title: A Quick Heads-Up

I really like the look of the earlier style with the arrows. It sets the sections apart a little nicer. But, it's harder to type. Using two characters instead of one, and one of those requiring the shift key adds friction to the ease of use.

I like the form of the earlier version but the function of the later wins, hands down.

-- end of line --

Footnotes

Working on Neopolitan and Neopoligen was my first real experience with the Rust programming language. I was learning so much stuff at the time that it was easier for me to put them together than figure out how to work on them as separate projects.