Difference between revisions of "Ants input manual"
(Input syntax) |
|||
Line 1: | Line 1: | ||
− | The input syntax of [[Ants]] is currently | + | The input syntax of [[Ants]] is currently completely card based without limit symbols. |
== Input syntax == | == Input syntax == | ||
Line 7: | Line 7: | ||
* All tokens are separated with either space <code> </code>, comma <code>,</code> or tabular characters. | * All tokens are separated with either space <code> </code>, comma <code>,</code> or tabular characters. | ||
* Consecutive input may be repeated using <code>*</code>. The token before <code>*</code> must be a positive integer (the number of repeats). | * Consecutive input may be repeated using <code>*</code>. The token before <code>*</code> must be a positive integer (the number of repeats). | ||
+ | * The input is case insensitive. | ||
+ | * The main block keywords (below) are reserved. In the main blocks, the sub-block keywords (even further below) are reserved. | ||
+ | |||
+ | == Main blocks == | ||
+ | When the main input file is read, it is tokenized and split into main blocks. Depending on the main block, they might be split into sub-blocks. Currently, the main block keywords are | ||
+ | *<code>title</code> | ||
+ | *<code>echo</code> | ||
+ | *<code>global</code> | ||
+ | *<code>core</code> | ||
+ | *<code>fuel</code> | ||
+ | *<code>controlrod</code> | ||
+ | *<code>hydraulics</code> | ||
+ | *<code>iteration</code> | ||
+ | *<code>library</code> | ||
+ | *<code>output</code> | ||
+ | *<code>start</code> | ||
+ | *<code>end</code> |
Revision as of 13:15, 12 February 2019
The input syntax of Ants is currently completely card based without limit symbols.
Input syntax
The following general syntax guide lines hold for Ants specific input. For example the HEXBU-3D/MOD5 group constant files follow their respective syntax.
- Ants input supports rest of line comment symbols
!
and//
, and block comments beginning with/*
and ending with*/
. - Blocks beginning and ending with
"
are held together in for example input file paths. - All tokens are separated with either space
,
or tabular characters. - Consecutive input may be repeated using
*
. The token before*
must be a positive integer (the number of repeats). - The input is case insensitive.
- The main block keywords (below) are reserved. In the main blocks, the sub-block keywords (even further below) are reserved.
Main blocks
When the main input file is read, it is tokenized and split into main blocks. Depending on the main block, they might be split into sub-blocks. Currently, the main block keywords are
title
echo
global
core
fuel
controlrod
hydraulics
iteration
library
output
start
end