u/FrancisStokesin r/node • Recommends
Using Parser Combinators to Expressively Parser Binary Data
#parsercombinators#binarydata#arraybuffer
87K subscribers • 18 videos on Hallway
Intermediate. Assumes working knowledge.
4.5K views7 years ago1 recommendation
Programming languagesSystems programmingJavaScriptCompilers and interpreters
This tutorial explains how to parse binary data, extract bits, and use Typed Arrays, ArrayBuffers, and DataViews in JavaScript.
In this episode the parser combinator system is turned on binary data. We learn how to specify and extract individual bits, Typed Arrays, ArrayBuffers and DataViews, and about important concepts like bit ordering. =[ ℹ About ℹ ]= During this series we will develop an understanding of the concept of parsing, and build our own parser combinator system from scratch. The system we build will be capable of parsing both binary and text data. We'll make use of both object-oriented and function programming principles to develop an effective and intuitive library. =[ 🔗 Links 🔗 ]= - ⭐️ Patreon: patreon.com/lowleveljavascript - 💌 Updates to your inbox: tinyletter.com/lowleveljavascript - Playlist: youtube.com/watch?v=6oQLRhw5Ah0&list=PLP29wDx6QmW5yfO1LAgO8k… - Github Repo: github.com/LowLevelJavaScript/Parser-Combinators-From-Scratc… - LLJS Subreddit: reddit.com/r/lowleveljavascript - IP Packet Structure: en.wikipedia.org/wiki/IPv4#Packet_structure - ArrayBuffer: developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Gl… - DataView: developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Gl… - Typed Arrays: developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Gl…u/FrancisStokesin r/node • Recommends