Skip to content

Instantly share code, notes, and snippets.

johnmudd

Block or report user

Report or block johnmudd

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
@johnmudd
johnmudd / 0_reuse_code.js
Created Jun 16, 2017
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@johnmudd
johnmudd / test_pyparsing.py
Created Feb 25, 2012
Sample use of pyparsing to extract typedef from C code. Surprisingly long output for such a simple demo.
View test_pyparsing.py
#! /usr/bin/env python
from pyparsing import *
def get_typedef_parser():
declare_list = Forward() # Will be defined later, after being referenced.
ident = Word(alphas+'_', alphanums+'_')
int_number = Word(nums+' ()+-*/')
You can’t perform that action at this time.