Skip to content

Instantly share code, notes, and snippets.

Andrew Levine DrewML

Block or report user

Report or block DrewML

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@betaorbust
betaorbust / README.md
Last active Jul 21, 2018
ES2015 fallback check for Progressive Transpilation
View README.md

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
DmitrySoshnikov / Recursive-descent-backtracking.js
Last active Apr 16, 2019
Recursive descent parser with simple backtracking
View Recursive-descent-backtracking.js
/**
* = Recursive descent parser =
*
* MIT Style License
* By Dmitry Soshnikov <dmitry.soshnikov@gmail.com>
*
* 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
You can’t perform that action at this time.