Skip to content

Develop Compiler Option Flags #163

@tahadostifam

Description

@tahadostifam

Required Flags:

  • -q, --quite (Silence unnecessary output)
  • -v, --verbose (Verbose output of compiler linkage details)
  • lex-only command
  • parse-only command
  • syntatic-only command (checks code from syntatic aspects with with lexing and parsing)
  • Pass command-line arguments with --
  • Compiler Optimization flags
    • O0 [Safe] No optimization
    • O1 [Safe] High optimization
    • O2 [Unsafe] High optimization
    • Add flags that lies with binary size
  • Add --unsafe flags to disable runtime checks (and whatever effort that's made to made the language safe :>>>)
  • Add --add-feature and --remove-feature flags
  • Add native-library and cyrus-library inclusion flags.
  • Add --stdlib flag
  • Use --base=path for the base directory of the current command
  • Add --target (Compile for a particular architecture or OS target.)
  • Add --threads (Set the number of threads to use for compilation)
  • Add --ansi (Set colour output using ansi on/off, default is to try to detect it.)
  • Add --linker (cc is defualt)
  • Sanitizer (Address, Memory, Thread)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Almost done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions