/messy

乱七八糟的东西

Primary LanguageJavaScript

messy

乱七八糟的东西

animated-ripple from this article ripple-animation-in-javascript

tiny-webpack from TGLF(You Gotta Love Frontend) in 2018 by Ronen Amiel

ts-gymnastics TypeScript 类型体操

hand-write 手写实现 xxx 系列

interpreter

learn from Dmitry Sòshnikov

parser is generated by syntax-cli

syntax-cli --grammar parser/eval-grammar.bnf --mode LALR1 --parse '42' tokenize
syntax-cli --grammar parser/eval-grammar.bnf --mode LALR1 --parse '"Hello"' tokenize
syntax-cli --grammar parser/eval-grammar.bnf --mode LALR1 --parse 'foo' tokenize
syntax-cli --grammar parser/eval-grammar.bnf --mode LALR1 --parse '(begin (var x 10) (var y 20) (+ x y))' tokenize
syntax-cli --grammar parser/eval-grammar.bnf --mode LALR1 --output parser/eval-parser.js

node-stream-demo

generate 4GB SHA-256 hash of the dummy file

On macOS: mkfile -n 4g 4gb_file On Linux: xfs_mkfile 4096m 4gb_file