Translate C++ to JavaScript with regex (making online Arduino lessons) | Hacker News Reader