After learning the toy tutorials. i was wondering are there some existing tools that translate a hot programming language(e.g. C、C++、JS、Python、Java) into .mlir format? or if i want to translate a hot programming langugae into mlir. Should i begin with lexer and parser, follow the steps like toy, what should i learn and do to make such transforms?
It seems that by “hot” you mean “general purpose” and “imperative”: I’m not aware of any really, but yes the steps are usually to have a parser generate an AST and then emit IR from this tree.