this library contains functions for working with lua syntax. such as code formatting and syntax highlighting
methods:
- syntax.format(string):string - formats the code
- syntax.highlight(code, errorLine:number|nil, palette:number|nil):string - makes syntax highlighting with colors through the '#' symbol for subsequent output to mygui. pass the palette number from 1 to 5. you can also pass the number of the line where the error occurred to highlight it in red