Header 1
Subtitle
Example text.
Now that Electron has hit Chrome's 60s we can have proper module support. But of course, the standard (for very good reasons) prevents loading modules from file:
and it makes sense for both Electron and NW.js to adhere to the statusquo.
So if you were really excited and this bums you, don't worry, you are in for awesome things.
The future Electron eco-system offers two options for native ES modules:
Custom Electron protocol via Chromium's module loading subsystem
Custom NodeJS loaders via Node's module loading subsystem recommended
A grammar is a declarative primitive representing the finite sets of rules and symbols of a given language.
A template-based BNF parser inspired by [@kach/nearly][].
I'm starting by cleaning up the nearly/nearly.js source code.
export class Rule {
This experiment demonstrates using a GitHub Gist to track and statically stage experimental code through a GitHub Pages.
Please refer to @SMotaal/experiments for more details.
<html> | |
<head> | |
<title>SMotaal's TEQ</title> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" /> | |
<meta name="theme-color" content="#262f36" /> | |
<meta name="background-color" content="#999999" /> | |
<link rel="stylesheet" href="/markout/styles/fonts/iosevka.css" /> | |
<link rel="stylesheet" href="/markout/styles/root.css" /> |
export default (class { | |
MakeInlineClosure() { | |
const messages = []; | |
return (message => { { messages.push(message); } }); | |
} | |
['InlineClosure (ahead-of-time)'] = ({MakeInlineClosure, InlineClosure = MakeInlineClosure()} = this) => () => InlineClosure('test'); | |
['InlineClosure (just-in-time)'] = ({MakeInlineClosure} = this) => () => MakeInlineClosure()('test'); |
Navigate to https://emojipedia.org/apple/ios-13.3/
Generate the asset manifest by running:
copy(JSON.stringify(Object.fromEntries([...document.querySelector('ul.emoji-grid').querySelectorAll('img[title][src][srcset]')].map(({title, attributes}, index) => ([attributes.title.value, attributes.srcset.value.replace(/ +\dx$/, '')])))))
Clone the repo
git clone https://github.com/thecraftman/-badging thecraftman-badging
Clean the local history
git filter-branch --force --index-filter "git rm --cached --ignore-unmatch "[README.md](https:"/gist.github.com/thecraftman/README.md" --prune-empty --tag-name-filter cat -- --all
The Matcher-based tokenizer implementation for JSON.
Contextual Definitions — json-definitions.js
Structured definitions for keywords, goals, symbols… etc, used by the tokenization process.