Skip to content

Instantly share code, notes, and snippets.

View LakshyAAAgrawal's full-sized avatar

Lakshya A Agrawal LakshyAAAgrawal

View GitHub Profile
@LakshyAAAgrawal
LakshyAAAgrawal / pytranslate.md
Last active February 20, 2024 12:36
Pytranslate - Maxima to Python Translator
@kiran
kiran / lisp_parser.py
Created June 7, 2016 02:01
writing a simple lisp parser in python
#!/usr/bin/python
# turn lisp statements into an AST
# going off a super basic grammar:
# - atoms are numbers or symbols
Number = (int, float)
Symbol = str
Atom = (Number, Symbol)
@clintel
clintel / gist:1155906
Created August 19, 2011 02:40
Fenced code in bullet lists with GitHub-flavoured MarkDown??

Fenced code blocks inside ordered and unordered lists

  1. This is a numbered list.

  2. I'm going to include a fenced code block as part of this bullet:

    Code
    More Code