Skip to content

Instantly share code, notes, and snippets.

View lsmenicucci's full-sized avatar

Lucas Menicucci lsmenicucci

  • Belo Horizonte
View GitHub Profile
@casotto
casotto / profiling with yep.md
Last active November 24, 2021 03:53
Profiling with yep

Before profiling

Awesome few words on profiling

Line Profiling

If the module is on pure Python we can use the awesome line_profiler library. For fast proifiling/ complex profiling, it may be annoying to add/delete all the decorators each time we are done. Hence it would be better to avoid this by following the following snippet

In this tutorial we're going to build a set of parser combinators.

What is a parser combinator?

We'll answer the above question in 2 steps.

  1. What is a parser?
  2. and, what is a parser combinator?

So first question: What is parser?

@john-science
john-science / build_your_own_lisp.md
Last active December 9, 2021 05:27
Build Your Own LISP

Build Your Own LISP

I had fun building my own LISP (Slow Loris). The project was extremely easy to get off the ground, because there a ton of resources to do just this. I thought it might be handy to have a little links round-up, based on my research.

In Python

There are already several good projects out there on writing your own LISP in Python.

Peter Norvig's LisPy

@mbostock
mbostock / .block
Last active June 9, 2024 02:00
Force-Directed Graph
license: gpl-3.0
height: 600
redirect: https://observablehq.com/@d3/d3-force-directed-graph