Re: [dev] Learn C

2019-04-01 Thread Martin Tournoij
On Mon, 1 Apr 2019 16:56:21 + sylvain.bertr...@gmail.com wrote: > Dear David, > > You are of the type of human being I, genuinely, sort of dislike. Namely a > syntax > kludge and excessive abstraction lover. > > Your first sentence is already an insult to "suckless" people: "won't you > wri

Re: [dev] Learn C

2019-04-01 Thread Markus Wichmann
I was being quite serious. Not everything posted on April 1st is a joke. I eventually got fed up with harmful.cat-v.org, because all it listed was derision, but no actual justification. Just like you. Ciao, Markus

Re: [dev] Learn C

2019-04-01 Thread sylvain . bertrand
God! I barely did notice we were the first of April... and I was surprised to see ideas so much remote from suckless stated here. Got me guys. I fell for it. doh! -- Sylvain

Re: [dev] Learn C

2019-04-01 Thread sylvain . bertrand
Nice April Fool's joke. -- Sylvain

Re: [dev] Learn C

2019-04-01 Thread inasprecali
I know this is bait but I'll bite: People who think this shit in real life are insufferable faggots who have 0 concept of how much abstraction there already is between them programming in "real" languages bare metal. The amount of abstraction that's achieved by going from logic gates to C is fucki

Re: [dev] Learn C

2019-04-01 Thread Markus Wichmann
On Mon, Apr 01, 2019 at 04:56:21PM +, sylvain.bertr...@gmail.com wrote: > Dear David, > > You are of the type of human being I, genuinely, sort of dislike. Namely a > syntax > kludge and excessive abstraction lover. > > Your first sentence is already an insult to "suckless" people: "won't you

Re: [dev] Learn C

2019-04-01 Thread sylvain . bertrand
Dear David, You are of the type of human being I, genuinely, sort of dislike. Namely a syntax kludge and excessive abstraction lover. Your first sentence is already an insult to "suckless" people: "won't you write in assembly next time?" -- Sylvain

Re: [dev] lex and yacc

2019-04-01 Thread sylvain . bertrand
On Sun, Mar 31, 2019 at 10:45:04PM -0700, Louis Santillan wrote: > There's options. Have you tried Lemon Parser [0] or miniyacc + qbe > [1][2]? ucpp [3] lexes/parses C-like languages with C pre-processing. > re2c [4] is a great lexer. Crockford prefers Pratt's Top-Down > Operator Precedence [5][

Re: [dev] Learn C

2019-04-01 Thread David Demelier
Le 24/03/2019 à 14:33, sylvain.bertr...@gmail.com a écrit : * do not use enum (hard rule) I'd be glad to get any reason why not. C is already minimalistic, won't you write in assembly next time? Moreover, enums are often well supported in debuggers and show the actual enum constant rather t