dfuck v1.0.0 (2018-12-21T21:10:00Z)
Dub
Repo
Options
dfuck
Undocumented in source.
struct
Options {
@
Option
("help", "h")
@
Help
("Prints this help.")
OptionFlag
help
;
@
Option
("only-compile", "oc")
@
Help
("Compile a brainfuck file and generate an executable.")
OptionFlag
only_compile
;
@
Option
("compile-run", "cr")
@
Help
("Compile and run a brainfuck file.")
OptionFlag
compile_run
;
@
Option
("interpret", "i")
@
Help
("Interpret a brainfuck file.")
OptionFlag
interpret
;
@
Option
("intermediate", "ir")
@
Help
("Specifies a file to ouput IR code to.")
string
intermediate
;
@
Option
("compiler", "c")
@
Help
("The compiler to use. Must be one of: gcc. Defaults to gcc.")
string
compiler
;
@
Argument
("source")
@
Help
("The brainfuck file to be run.")
string
source
;
}
Members
Variables
compile_run
OptionFlag
compile_run
;
Undocumented in source.
compiler
string
compiler
;
Undocumented in source.
help
OptionFlag
help
;
Undocumented in source.
intermediate
string
intermediate
;
Undocumented in source.
interpret
OptionFlag
interpret
;
Undocumented in source.
only_compile
OptionFlag
only_compile
;
Undocumented in source.
source
string
source
;
Undocumented in source.
Meta
Source
See Implementation
dfuck
functions
main
structs
Options