microsoft/qdk

Public

mirrored fromhttps://github.com/microsoft/qdkAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
efd6847eb3bce5324ed84e4e62df6dd188278813

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

compiler/qsc/README.md

62lines · modecode

1# qsc - Q# command-line compiler
2
3```console
4Usage: qsc [OPTIONS] [INPUT]...
5
6Arguments:
7 [INPUT]...
8 Q# source files to compile, or `-` to read from stdin
9
10Options:
11 --nostdlib
12 Disable automatic inclusion of the standard library
13
14 --emit <EMIT>
15 Emit the compilation unit in the specified format
16
17 Possible values:
18 - ast: Abstract syntax tree
19
20 --outdir <DIR>
21 Write output to compiler-chosen filename in <dir>
22
23 -v, --verbose
24 Enable verbose output
25
26 -e, --entry <ENTRY>
27 Entry expression to execute as the main operation
28
29 -h, --help
30 Print help (see a summary with '-h')
31
32 -V, --version
33 Print version
34```
35
36# qsi - Q# interactive command-line
37
38```console
39Q# Interactive
40
41Usage: qsi [OPTIONS]
42
43Options:
44 --use <SOURCES>
45 Use the given file on startup as initial session input
46 --entry <ENTRY>
47 Execute the given Q# expression on startup
48 --nostdlib
49 Disable automatic inclusion of the standard library
50 --exec
51 Exit after loading the files or running the given file(s)/entry on the command line
52 -q, --qsharp-json <QSHARP_JSON>
53 Path to a Q# manifest for a project
54 -f, --features <FEATURES>
55 Language features to compile with
56 --debug
57 Compile the given files and interactive snippets in debug mode
58 -h, --help
59 Print help
60 -V, --version
61 Print version
62```
63