X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=doc.html;h=352171fa4e43a037fd5d6ce97b522dd197f0eae5;hp=453fc42b60d0a51635dd457eb52293de3713bb7b;hb=refs%2Fheads%2Fgraphitemaster%2Fgh-pages;hpb=7b4e099dda96a4b5cf60601300da208b5188a1b6;ds=sidebyside
diff --git a/doc.html b/doc.html
index 453fc42..352171f 100644
--- a/doc.html
+++ b/doc.html
@@ -21,7 +21,6 @@
- Index
- - Download v0.2.2
- Issues
- Documentation
- View On GitHub
@@ -551,13 +550,41 @@ $ cd gmqcc
testsuite |
Builds the testsuite for GMQCC |
+
+ check, test |
+ Build and executes the testsuite for GMQCC |
+
+
+ pak |
+ Builds the pak utility |
+
+
+ splint |
+ Runs splint (static analysis) on the source |
+
+
+ gource |
+ Runs gource visualization on the source |
+
+
+ gource-record |
+ Runs gource visualization and produces a rendered mp4 |
+
+
+ depend |
+ Builds dependinces into the Makefile |
+
all |
- Builds gmqcc, qcvm, and testsuite |
+ Builds gmqcc, qcvm, pak, and testsuite |
install |
- Installs gmqcc to /usr/local/ |
+ Installs gmqcc, qcvm, and documentaion |
+
+
+ uninstall |
+ Uninstalls gmqcc, qcvm, and documentation |
check |
@@ -655,18 +682,14 @@ $ cd gmqcc
F: |
- Used to set a failure message, this message will be displayed
- if the test fails, this tag is optional. |
-
-
- S: |
- Used to set a success message, this message will be displayed
- if the test succeeds, this tag is optional.
- |
+ Used to set test-suite specific flags, currently
+ the only supported flag is -no-defs which tells the
+ testsuite to exclude defs.qh.
+ |
T: |
- Used to set the procedure for the given task, there are two
+ | Used to set the procedure for the given task, there are four
options for this:
- -compile
@@ -676,6 +699,8 @@ $ cd gmqcc
- -fail
This will perform compilation on the requirement it fails, otherwise
the test fails
+ - -pp
+ This will perform preprocessing only
This tag must be provided, this tag is NOT optional.
@@ -697,7 +722,7 @@ $ cd gmqcc
| Used to describe a string of text that should be matched from
the output of executing the task. If this doesn't match the
task fails. This tag must be provided at least once if
- T == -execute, otherwise it's erroneous as compilation only
+ T == -execute or T == -pp, otherwise it's erroneous as compilation only
takes place. Multiple M tags are required for multi-line comparision
|
@@ -773,6 +798,10 @@ $ cd gmqcc
Argument |
What it does |
+
+ -h, --help |
+ Print help message |
+
-trace |
Trace the execution call hierarchy. |
@@ -789,6 +818,10 @@ $ cd gmqcc
-disasm |
Dissasemble the bytecode into assembly. |
+
+ -diasm-func |
+ Dissasmble function |
+
-printdefs |
Prints all definitions for the bytecode running. |
@@ -797,6 +830,22 @@ $ cd gmqcc
-printfields |
Prints all fields for the bytecode running. |
+
+ -printfuns |
+ Prints all functions for the bytecode running. |
+
+
+ -v |
+ Be verbose |
+
+
+ -v |
+ Be even more verbose |
+
+
+ -version, --version |
+ Print version information |
+
Builtins
@@ -815,6 +864,11 @@ $ cd gmqcc
vlen | 7 |
etos | 8 |
stof | 9 |
+ strcat | 10 |
+ strcmp | 11 |
+ normalize | 12 |
+ sqrt | 13 |
+ floor | 14 |
Support or Contact