Write lexers and parsers for data formats, JSON and EDN are two good starting points.
write a forth or lisp lexer, parser and interpreter.
then write a small language that compiles to a target, like js, make sure your language is close in semantics to the target language to avoid headaches.