import re


def microlisp_tokenize(txt):
    """ Split code text to tokens: `(', `)', non-space sequences """
    tokens = re.split('(\s+|\(|\))', txt)
    return [t for t in tokens if len(t) and not t.isspace()]