4 ms·
is it, though? https://github.com/SLaks/Silon#implementation-details https://github.com/SLaks/Silon#implementation-details "Silon is implemented using LESS to
by aji 10y ago
is it, though?
https://github.com/SLaks/Silon#implementation-details https://github.com/SLaks/Silon#implementation-details
"Silon is implemented using LESS to generate CSS selectors for every combination of inputs that will turn each gate on. In effect, I created a LESS-based DSL that expresses (almost-)arbitrary boolean expressions."
- wanda 10y agoYes, I know a preprocessor is involved, much like many single-element/background-image hacks and CSS-only glitch effects which translate to fifty-keyframe animations. It's still cooler than the OP.
- aji 10y agoit's definitely shinier than the OP, but I personally think encoding a sieve of Eratosthenes in a CSS selector is cooler than encoding truth tables in a CSS selector
- wanda 10y agoI was always more interested in the philosophy of mathematics than prime numbers. Actually, I'm interested in philosophy in general, especially early Wittgenstein & Gödel. So I'm biased.
- minitech 10y agoYes, it is. Almost-arbitrary boolean expressions vs. completely straightforward and obvious use of a CSS selector.