techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.7K
active users

#parsec

0 posts0 participants0 posts today

I got the old intel-based MacBook Pro rigged up with #Parsec and #Tailscale and running Amphetamines so that I could leave it plugged in with the lid closed. Now, I just need to figure out how to get the web version Parsec working on an iPad.

I might be trying too hard to get an iPad to handle my workflows.

Context free grammars (CFG) are better than parsing expression grammars (PEG), because CFGs represent how we think.

Parser combinators are similar to PEGs, so they are worse than CFGs, too.

So, don't use Rust libraries nom, combine. Use lalrpop.

Don't use Haskell libraries parsec, gigaparsec, attoparsec, megaparsec, trifecta. Use Earley, happy.

See more detailed story in my new article safinaskar.writeas.com/this-is .

The story also includes some cases, where PEG and parser combinators may still be useful. Also, the article gives links to my Haskell parsing libraries.

Askar Safin · This is why you should never use parser combinators and PEGLet me tell you why you should (nearly) never use PEG (parsing expression grammars). Nearly everything I will say applies to parser combi...
#haskell#rust#parsing
Continued thread

Turns out the audio was fine, the #ti99/4a cable I had apparently just used the black connector for mono out...

So played a bit of #Parsec which was tricky with a keyboard and a brain wired for WASD.

Then tested the tape drive and it worked! Also a pretty slick little setup where you hit the button to record or play, but it pauses until the control line enables / disables it. Pretty cool for 40+ year old tech.