Skip to content

Instantly share code, notes, and snippets.

static final class StringIsEmpty {
@BeforeTemplate
boolean equalsEmptyString(String string) {
return string.equals("");
}
@BeforeTemplate
boolean lengthEquals0(String string) {
return string.length() == 0;
}
@ePaul
ePaul / tinylisp.py
Last active September 1, 2021 12:52 — forked from dloscutoff/tinylisp.py
Reference implementation of tinylisp language
#!/usr/bin/python3
whitespace = " \t\n\r"
symbols = "()"
debug = False
# Shortcut function for print without newline
write = lambda x: print(x, end="")