Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 15 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,35 @@
`lslint` is a tool to check the syntactic and semantic validity of Second Life LSL scripts.

[![Build Status](https://travis-ci.com/FixedBit/lslint.svg?branch=master)](https://travis-ci.org/FixedBit/lslint)

For now I have taken over keeping this updated as much as possible as there have been no updates on the official repo in years.

~ FixedBit / Coal Edge

#### Releases

See [Releases](https://github.com/FixedBit/lslint/releases) for binaries.
Latest release resides [here](https://github.com/FixedBit/lslint/releases/latest).
All heavy lifting was done by FixedBit-san, Makapoo-san, and who they worked with in the repo history
This is just a clone with my lazy updates mainly on builtin.txt and builtin_txt.cc
Please see the original repo - [FixedBit/lslint](https://github.com/FixedBit/lslint)

Comment on lines +1 to 4
Copy link

Copilot AI Oct 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] This introduction significantly changes the project's presentation and may confuse users about the repository's purpose and maintenance status. Consider providing clearer information about the relationship to the original repository and the scope of changes.

Suggested change
All heavy lifting was done by FixedBit-san, Makapoo-san, and who they worked with in the repo history
This is just a clone with my lazy updates mainly on builtin.txt and builtin_txt.cc
Please see the original repo - [FixedBit/lslint](https://github.com/FixedBit/lslint)
## About this repository
This repository is a fork of [FixedBit/lslint](https://github.com/FixedBit/lslint), originally developed by FixedBit, Makapoo, and other contributors. The primary purpose of this fork is to provide updates to builtins.txt, builtins_txt.cc, and to add support for newer build environments and features.
**Note:** This fork is not the original repository. For the canonical version and full project history, please visit [FixedBit/lslint](https://github.com/FixedBit/lslint).
**Maintenance status:** This fork is maintained on a best-effort basis, with updates contributed as needed by the community. See the "Additional changes" section below for a summary of modifications and enhancements made in this fork.

Copilot uses AI. Check for mistakes.
#### Compiling
* `make` should be all that's required on POSIX systems, and a solution file exists for VS2015 on Windows.
* [Win flex-bison](http://sourceforge.net/projects/winflexbison/) as well as VS2015 or [SDK7.0](https://www.microsoft.com/download/details.aspx?id=3138) or later are required for Windows build. See the comment in [NMakefile](NMakefile) for detailed instructions.
* Install [Visual Studio 2022](https://visualstudio.microsoft.com/ja/vs/community/) and C++ Desktop Environment using the VS installer
* Install [Win flex-bison](http://sourceforge.net/projects/winflexbison/) to C:\flexandbison
* Open Visual Studio Command Prompt, cd to the local repo root folder, and run the creator_win64.bat
* The updated binary lslint.exe should be created in binary\windows64 subfolder when successful

#### License
All code is public domain unless otherwise noted.

LSL scripts are from various sources and the property of their respective owners.

`.l` and `.y` files are based on samples provided by Linden Lab.

**WARNING:** `lslint` faithfully reproduced all the quirks of the LSL compiler circa ~2006,
like having constants as lexer tokens, events as part of the parser grammar,
and lots of right recursion. From a compiler perspective, it does everything
wrong, and is not recommended as a base for anything but a lint tool.
and lots of right recursions. From a compiler perspective, it does everything
wrong and is not recommended as a base for anything but a lint tool.

#### Additional changes
##### Otoa
* updated the creator_win64.bat to use VSCode 2022 (I did not touch any other build scripts... sorry)
* updated builtins.txt and builtins_txt.cc with Second Life Server 2024-12-17
Copy link

Copilot AI Oct 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's an inconsistency between the PR title which mentions '2024-09-13' and this line which mentions '2024-12-17'. The dates should be consistent throughout the documentation.

Suggested change
* updated builtins.txt and builtins_txt.cc with Second Life Server 2024-12-17
* updated builtins.txt and builtins_txt.cc with Second Life Server 2024-09-13

Copilot uses AI. Check for mistakes.

##### Makopoppo
* added nmake support (see NMAkefile for details).
* dropped builtins.txt creator. if you look for new builtins.txt, see [kwdb project](https://github.com/Sei-Lisa/kwdb)
* enabled appending the input file path to the result lines by "-p".

##### Xenhat
* Makefile-less VS2015 support (more cpp hybridization was necessary)
* Makefile-less VS2022 support (more cpp hybridization was necessary)
* Side effects includes x86_64 binary, x86 is possible still

##### Sei-Lisa
Expand All @@ -47,7 +42,7 @@ wrong, and is not recommended as a base for anything but a lint tool.
* numerous bug fixes and enhancements

##### FixedBit
* updated and and cleaned up compile for all languages
* updated and cleaned up compile for all languages

#### Special Thanks
* Strife Onizuka
Expand Down
Loading