NovaRainandGitHub f95700319c Merge pull request #12 from sfall-team/feature/foreach-for-variable-syntax-fixes
Syntax improvements: foreach, for, variables

- ForEach: allow to declare variables for key & value header
- ForEach: allow to use expression after `in` that start with a symbol without mandatory parantheses
- Variables: allow to declare variables anywhere where statement is expected
- Variables: simplify declaration code & array vars
- Expressions: display useful error message when expression was expected but nothing was parsed
2024-06-13 16:14:11 +08:00
2023-06-09 00:49:12 +02:00
2024-03-11 10:25:43 +08:00
2020-12-30 09:24:04 +08:00
2019-11-14 11:57:39 +08:00
2020-05-02 14:36:49 +02:00
2024-03-11 10:25:43 +08:00
2023-07-03 10:11:13 +08:00
2023-05-24 10:26:37 +08:00

sslc

Script compiler/parser for Fallout 2/sfall scripts.

Usage

compile {switches} filename [-o outputname] [filename [..]]

Switches

-q    don't wait for input on error
-n    no warnings
-b    use backward compatibility mode
-l    no logo
-p    preprocess source
-P    preprocess only (don't generate .int)
-F    write full file paths in #line directives
-O<level>  optimize code
           0 - none
           1 - only remove unreferenced variables/procedures (default)
           2 - full (same as -O)
           3 - full+experimental, don't use!
-d    show debug info
-s    enable short-circuit evaluation for boolean operators (AND, OR)
-D    dump abstract syntax tree after optimizations
-m<macro>[=<val>]  define a macro named "macro" for conditional compilation
-I<path>  specify an additional directory to search for include files
S
Description
No description provided
Readme
592 KiB
Languages
C 98%
Shell 1.4%
CMake 0.4%
JavaScript 0.2%