Giter VIP home page Giter VIP logo

lslint's Introduction

lslint is a tool to check the syntactic and semantic validity of Second Life LSL scripts.

Build Status

Releases

See Releases for binaries. Latest release resides here.

Compiling

  • make should be all that's required on POSIX systems, and a solution file exists for VS2015 on Windows.
  • Win flex-bison as well as VS2015 or SDK7.0 or later are required for Windows build. See the comment in NMakefile for detailed instructions.

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.

Additional changes

Makopoppo
  • added nmake support (see NMAkefile for details).
  • dropped builtins.txt creator. if you look for new builtins.txt, see kwdb project
  • enabled appending the input file path to the result lines by "-p".
Xenhat
  • Makefile-less VS2015 support (more cpp hybridization was necessary)
    • Side effects includes x86_64 binary, x86 is possible still
Sei-Lisa
  • added Mono mode (-m for Mono(default), -m- for LSO)
  • added option to make the warning on unused event parameters optional (-u to enable, -u- to disable)
  • added option to ignore preprocessor commands (-i)
  • added switch() statement and lazy list support
  • added god mode support
  • added reporting of several errors and warnings
  • numerous bug fixes and enhancements

Special Thanks

  • Strife Onizuka
  • Howie Lament
  • Cory Linden
  • Huns Valen
  • Doran Zemlja / Adam Wozniak

Shout Outs

  • Daniel Linden
  • Bakuzelas Khan
  • One Song
  • Otacon Falcone
  • Shokra Patel

lslint's People

Contributors

awozniak avatar makopo avatar pclewis avatar sei-lisa avatar xenhat avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.