redempt

joined 1 year ago
[–] [email protected] 1 points 2 months ago

what communist country?

[–] [email protected] 2 points 2 months ago

what gender dysphoria made me feel like since puberty

[–] [email protected] 21 points 2 months ago (2 children)

this is the most pro union ticket in decades. if you want progress, the path is collective labor power. it's how we won the weekend and the 40 hour work week. it's how we won paid lunch breaks (which are now being lost in many places). it's how we earned paid maternity and paternity leave. if you want things to get better and stay better, join a union, STRIKE and just keep building coalition and class consciousness.

[–] [email protected] 9 points 4 months ago (1 children)
[–] [email protected] 90 points 4 months ago (9 children)

needs more trees

[–] [email protected] 27 points 4 months ago (1 children)

I get this, in a slightly different way. when I really really like someone it starts to feel like they are literally living in my head and I police even my thoughts lest they see them. I know it's irrational but it's more of an impulse.

[–] [email protected] 3 points 4 months ago

exactly where my mind went

[–] [email protected] 2 points 4 months ago

There's no real need for character literals. They would behave exactly the same as string literals but only support a single character. And you can use escape sequences in the string literal, of course.

 
[–] [email protected] 6 points 5 months ago

..but it's not? and I thought the term intersex was preferred

[–] [email protected] 2 points 6 months ago

the HDR by my understanding is basically just automatic conversion, not actually support for programs to use HDR on their own. I've been using gamescope to run games in native HDR.

[–] [email protected] 9 points 6 months ago

beautifully drawn!

 

Been working on this a few months. It's inspired by previous generations of parser generators, and by my own previous work generating ast lexers from grammar files. This integrates seamlessly with the type system, allowing you to declare your syntax, extract only the data you want as variables, and evaluate them easily. And just from a simple description of your syntax, you'll get beautiful errors which visually point out structures in the input.

With this I have been able to implement a (mostly complete) JSON parser in just 12 lines of parsing logic, and a pmdas-respecting expression parser in just 6 (with one helper function to apply individual operators).

Examples available on the github repo, also now available on crates.io!

view more: next ›