Auckland scout group fed up with freedom campers defecating, leaving trash

“I haven’t found any messes myself but some of the other leaders have told me they did have…
#NewsBeep #News #Headlines #auckland #campers #defecating #earley #Fed #freedom #group #leaving #melanie #NewZealand #NZ #scout #trash #up #with
https://www.newsbeep.com/232310/

Auckland DJ duo the Katayanagi Twins reportedly denied entry to United States, sent back to NZ

It was followed by footage of the plane taking off and one of the twins could be seen…
#NewsBeep #News #Headlines #auckland #back #denied #dj #duo #earley #entry #katayanagi #melanie #NewZealand #NZ #reportedly #sent #states #the #to #twins #united
https://www.newsbeep.com/76026/

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 https://safinaskar.writeas.com/this-is-why-you-should-never-use-parser-combinators-and-peg .

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.

#haskell #rust #parsing #parse #cfg #peg #combinators #parsercombinators #parsingcombinators #nom #combine #lalrpop #parsec #earley #happy

This is why you should never use parser combinators and PEG

Let me tell you why you should (nearly) never use PEG (parsing expression grammars). Nearly everything I will say applies to parser combi...

Askar Safin

Now we can evaluate nice looking expressions, like this one √(-4²) with our #Earley parser.

#Haver #HaverSmalltalk

I just completed "Distress Signal" - Day 13 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/13

Today is also the first day, I use external libraries. Using a real parsing library made things so much easier.

Additionally I started an "Aoc" Library of useful Aoc related functions, like `splitOn :: a -> [a] -> [[a]]`, that divides a list by some a.

Code is here: https://git.k-fortytwo.de/christofsteel/aoc2022/-/blob/main/day13.hs

#haskell #earley #adventofcode #adventofcode2022 #coding #code

Day 13 - Advent of Code 2022

Walked to Asda and back. Found this car key near the Cutbush Lane/Carshalton Way. Utterly knackered but the keyring says "Mummy to be" so I'm doubling my medication and going to the police station once I'm ready.

#lost #car #key #Reading #lower #earley