I’ve been frustrated with some of the external parser libraries, and I wanted to see if I could do something faster than could be generated with Instaparse, so I made a Turtle parser https://clojurians.slack.com/archives/C06MAR553/p1670887256319439
That's a really great name!
How many turtles are there that you can name a Turtle parser after? I figure I had limited choices: There’s the TMNTs. The Great A’Tuin. Yertle. Harriet (a tortoise, but I include her because of her historical significance) Are there other turtles I’ve missed? Note that I’d started on a turtle parser using 2 other techniques, and these already got the names Yertle and Myrtle 😜
There's bound to be more! I love the effort you put into this. I really like "Raphael" because it starts with an R just like RDF. And because I grew up a as a young kid on the TMNTs 😉
I turned 51 yesterday, so I was clearly influenced by that cultural phenomenon 😊
Congratulations Paula! 🙂
I ought to have come up with a better tagline for the project, but I wanted to wrap it up, so I just wrote the first thing I could think of
Ohh yeah the half-shell one 😂 . I enjoyed it. It's clever. But yeah, maybe someone can come up with one that references something in the original TMNT series
There are 2 modifications I want to make for upcoming releases (adapt for use with a stream reader, and a protocol to emit triples to, rather than accumulate in a vector), and that’ll hopefully happen in coming days. I have been thinking about it as I swim laps 🙂 (Rich uses a hammock, I use a pool)
Cool! I'll be keeping a close eye on your project. I'm currently using RDF4j's Rio parse from native Java. It works fine, but it's always nice to replace it with a proper Clojure lib
And yeah, repetitive moving is great for thinking ^^
A Clojure impl will never be as fast, but I think it’s more flexible, and most importantly, it’s 100% compatible with ClojureScript
That's a major advantage indeed. And for my use case speed is not an issue anyways (information models limited to a use case don't amount to many triples)
As for the swimming… it’s ideal because of the increased blood flow, and also because it’s boring. Your mind is FORCED to think. It used to be tricky for me to design and count laps, but then Apple Watches started counting laps in the pool 🙂
The boring part is absolutely essential! I agree
I also walk, but I listen to podcasts, or else someone comes with me and we talk. But swimming forces me to think problems through
Walking is my boring go-to for the deep dive into my brain 🙂. Podcasts are for during doing the dishes and taking showers for me haha
I have no idea what the speed comparison is. But it was fun to build