Skip to content

Instantly share code, notes, and snippets.

betaorbust /
Last active Jul 21, 2018
ES2015 fallback check for Progressive Transpilation

ES2015 Syntax Check for use with Progressive Transpilation

The attached file file spits out a string for direct injection into the head of a page, which will be a lightweight test of the ability to parse and run ES2015 syntax.

Unminified version

This is the original source for the test-case below:

class ಠ_ಠ extends Array{
DmitrySoshnikov / Recursive-descent-backtracking.js
Last active Sep 29, 2021
Recursive descent parser with simple backtracking
View Recursive-descent-backtracking.js
* = Recursive descent parser =
* MIT Style License
* By Dmitry Soshnikov <>
* In this short lecture we'll cover the basic (non-predictive, backtracking)
* recursive descent parsing algorithm.
* Recursive descent is an LL parser: scan from left to right, doing