25 Jul 24

Elaborations on NASA’s Power of Ten, including:

  • Appreciate, from day one, all compiler warnings at the compiler’s strictest setting.
  • “push ifs up and fors down”.
by dozens 1 year ago saved 2 times
Tags:

git is not a version control system, git is a toolbox for building a VCS. Do have a low-friction way to add your own scripts for common git operations.

by dozens 1 year ago saved 2 times
Tags:

07 Jun 24

After that, I went back to Dmitry and asked him if my understanding of “everything is a table” was correct and, if so, why Lua was designed this way. Dmitry told me that Lua was created at the Pontifical Catholic University of Rio de Janeiro and that it was acceptable for Pontifical Catholic Universities to design programming languages this way.

by dozens 1 year ago

14 May 24

LPeg is a pattern-matching library for Lua, based on Parsing Expression Grammars (PEGs)

by dozens 1 year ago

Logic-less {{mustache}} templates with Lua

by dozens 1 year ago

Locco is a Lua port of Docco, the quick-and-dirty, hundred-line-long, literate-programming-style documentation generator. It produces HTML that displays your comments alongside your code. Comments are passed through Markdown, and code is syntax highlighted. This page is the result of running Locco against its own source file:

by dozens 1 year ago