Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
DamiaV committed Oct 5, 2017
2 parents f39afde + 4fe4c60 commit 7dedffe
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,20 @@ A compiler/decompiler for TI-83 programs.
### Compiling
*Source files' extension must be one of the following: .ti83, .ti83en, .ti83fr*

`java -jar <compiler_name>.jar -f <path> [-O|-L]`

+ `-f <file>` path to the source file
+ `-O` enable program optimisation: useless characters will be removed to speed up program execution
+ `-L` disables program editing from a calculator
- `-f <path>` tells that the file to compile is found at `<path>`
- `-O` if present, the compiler will try to optimise the program
- `-L` if present, the compiled program will be locked (i.e. it will be impossible to edit from the calculator)

### Decompiling
*Program files' extension must be .8xp*
`java -jar TI-83_compiler.jar -f <file> -u <lang>`

+ `-f <file>` path to the program file
+ `-u <lang>` target language (`en`, `fr`) for decompiled sources
`java -jar <compiler_name>.jar -f <path> -u <lang> -i <indent>`

- `-f <path>` tells that the file to decompile is found at `<path>`
- `-u <lang>` indicates the language for the decompiled source file (`en` or `fr`)
- `-i <indent>` specifies the indent size (number of spaces)

### Help
`java -jar TI-83_compiler.jar -h`
Expand All @@ -30,4 +33,4 @@ This option will show command usage and syntax.


## Documentation
Will come soon!
See the [wiki](https://github.com/Darmo117/TI-83_Compiler/wiki).

0 comments on commit 7dedffe

Please sign in to comment.