dev
dev copied to clipboard
Sanny Builder Bug Tracker and Roadmap development
Global variables seems to be trap that every scripting newcomer falls in. Recently SB syntax evolved so much that I think automated assigning new named global variable, by just using...
Currently code below won't compile: ``` {$CLEO .cs} nop const version_alpha = 1 end while true if version_alpha == 0 then print_help_formatted {text} "this is release version" else print_help_formatted {text}...
## [Download](https://github.com/sannybuilder/dev/releases) ## Features - [x] [debugger for SCM scripts](https://docs.sannybuilder.com/editor/scm-debugger) - [x] implement https://github.com/sannybuilder/dev/issues/263 (`function..end`) - [x] function annotations with `///` - [x] language service support (local vars highlighting, autocomplete,...
# Goal * Concise syntax for SCM functions * Make SCM functions easier to use by hiding some low-level details # Considerations for function syntax #### Pascal-style: ``` function a12(name:...
Using `` or `==` causes compilation error in some cases: ``` var $global : int end function foo(local :int) if or $global local // ok local $global // error then...
Code below won't compile: ``` int coarse = 10 float precise =# coarse ```
if you work with time-relative loops, you will need something that helps you to have an easier control of the loops. A subfix (fps, s, m, h) at the end...
Given a variable `var` of type `X`, expression `&var` can result in the following commands: - if `X` is a `Car` class, `&var` is `GET_VEHICLE_POINTER var` - if `X` is...
Currently & prefix can be used to enter decimal numbers in hex..end, e.g. ``` hex &100 end ``` will produce a byte 64. Similarly we can define a constant and...
Currently if you try to download the files from SB Library (classes.db, enums.txt) in most cases you won't be able to use them due to numerous issues. This ticket summarized...