mirror of
https://github.com/anoma/juvix.git
synced 2025-01-07 16:22:14 +03:00
2b5ece7b28
This pr adds the `--statements` flag to `juvix dev latex export`. It can be used like this: ``` juvix dev latex export --statements "List; elem; find" List.juvix ``` All statements are selectable by their 'label'. The label of a statement is defined as: 1. The function/type/operator/alias/axiom/local_module/fixity/iterator name being defined. 2. The module name being imported. ## Limitations: 1. Only top statements are allowed. I.e. statements inside local modules cannot be selected. 1. Open statements are not selectable. Giving `--statements "My.Module"` will refer to the import statement `import My.Module`. 4. Single constructors are not selectable. Only the whole type definition. 5. No comments will be printed. |
||
---|---|---|
.. | ||
Commands | ||
TopCommand | ||
App.hs | ||
AsmInterpreter.hs | ||
CommonOptions.hs | ||
Evaluator.hs | ||
GlobalOptions.hs | ||
HaskelineJB.hs | ||
Main.hs | ||
RegInterpreter.hs | ||
TopCommand.hs | ||
TreeEvaluator.hs |