voodooattack
This means that after parsing, a user-defined deserializer can pick up the raw value and do anything with it (whatever it returns is included in the output of `parse`), and that a user-defined validator can allow or reject it with an error.
Documentation (mainly for deserializers/validators) is currently sparse since I'm somewhat busy with a deadline, the tests have many examples though. I plan to expand on it later.
Here is a glance at what it looks like: ``` { x: date "2001-01-01", // it can handle custom deserializers! y: 123n, // it can handle `BigInt` out of the box! z: /^I\sCAN\sPARSE\sREGEX$/im, // ...and also regular expressions! w: undefined, // ...and even `undefined`! } ```
There are more examples on GitHub!
Show HN: Kerneltool – A Ubuntu mainline kernel installer
Rhymepy: Highlight Rhymes in a Given Text
When – event-based recombinant state machines with a temporal model
Why I turned down a job opportunity from Amazon last year
Show HN: My software design pattern for state machines based on gene expression
The Magineer: A web-serial about programmable magic
It takes forever to analyse symbols for WebKit otherwise. WebKit is too massive to handle with the default memory limits.
Introducing Nexus.js: A multi-threaded JavaScript run-time
Show HN: A Critter's Life: Collaborative Evolution in the Browser
Concurrent JavaScript VI: Server
Concurrent JavaScript: Part V – The Mantra
Concurrent JavaScript – Part IV: Madness
Concurrent JavaScript – Part III: Events
Concurrent JavaScript – Part II: Input/Output
Concurrent JavaScript – Introduction
Trust me, I tried.
Why are programmers dead set against my concurrent Node.js runtime?
Anyone interested in coroutines for JavaScript?
Show HN: First business directory in the Middle East
The Evolution of Buttons in UX Design
Envato moving to USA, Non-US authors to suffer
Ask HN: Egyptian Startup Woes
I've been a long time lurker of HN, and something happened today that drove me to register and post this.My partner and I are working on a big project that will hopefully change the way Egyptians and the Middle East in general use the internet. I will not mention what, because the idea is just that good.I'm the technical mind behind the project, while my partner and best friend handles the...