Rewrite of a Flask Web App in Clojure
Before we start, maybe you're interested in the Sudoku game I'm developing using Clojure & ClojureScript, it's free. Check it out:
👉 Play Sudoku for Free!
Intro
A few years ago, I made a simple web app in Flask to deal with some text processing problems from my daily work. It has two main features:
Feature #1: generating compile_commands.json for GNU Makefile projects written in C/C++ using the output of the make command. Because, unlike CMake, the make command can't generate it.
Feature #2: extract text using Python regex. It's handy when I feel like sed/awk/grep's line-oriented processing isn't enough for the task at hand.
Recently, I was thinking about adding some functionalities to it. But since I've put more effort into Clojure these days, I'd like to use Clojure to do it. So, I spent a few nights rewriting the web app in Clojure.
Ken Huang