You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CLI should simply be a wrapper around the compiler. That is, the compiler code should be loosely coupled from the command-line arguments. For instance, instead of keeping a reference to a TorreyConfig object, the TorreyCompiler constructor should have arguments (see here).
The text was updated successfully, but these errors were encountered:
At torrey/src/main/java/me/mtk/torrey/, make a new package compiler to hold packages frontend and backend. Then, create a sibling interface package to contain all the command-line interface code.
By less tightly coupled, I mean the core compiler should expose an API to the CLI, which would be the interface between the user of the compiler and the compiler itself.
The CLI should simply be a wrapper around the compiler. That is, the compiler code should be loosely coupled from the command-line arguments. For instance, instead of keeping a reference to a
TorreyConfig
object, theTorreyCompiler
constructor should have arguments (see here).The text was updated successfully, but these errors were encountered: