aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/CodeTools/lsl.parser.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add LSL transaction_result event.Justin Clark-Casey (justincc)2014-10-041-9150/+9202
| | | | | | | This is cinderblocks' transaction_result.diff from http://opensimulator.org/mantis/view.php?id=7329 but I have used lsl.parser.cs and lsl.lexer.cs files generated directly from opensim-libs rather than those supplied in the patch. I also added scriptEvents.transaction_reuslt. The required parser/lexer generation file changes were made in commit d564f28 in the opensim-libs repo. Thanks!
* Add lsl arg syntax checking for control eventJustin Clark-Casey (justincc)2013-12-211-9386/+9699
|
* refactor: rename internal lsl parser VectorDeclaration -> VecDeclaration for ↵Justin Clark-Casey (justincc)2013-12-211-7907/+7903
| | | | consistency
* Add arg checking for at_target lsl eventJustin Clark-Casey (justincc)2013-12-211-8828/+9141
|
* Add lsl event arg checking for at_rot_targetJustin Clark-Casey (justincc)2013-12-211-8915/+9290
|
* Add lsl event argument checking for attach and on_rezJustin Clark-Casey (justincc)2013-12-211-8593/+8920
|
* Add parameter checking for land_collision, land_collision_start and ↵Justin Clark-Casey (justincc)2013-11-291-7783/+8128
| | | | | | land_collision_end lsl events Wrong number of parmeters now generates syntax error on compile, as seen on LL grid
* Add syntax checking for no_sensor() no-arg eventJustin Clark-Casey (justincc)2013-11-161-4970/+4972
|
* If anything other than a single integer is specified for events that only ↵Justin Clark-Casey (justincc)2013-11-161-8243/+8586
| | | | | | take a single integer, generate a syntax error on LSL script compile rather than an exception later on. This applies to events changed, collision, collision_start, collision_end, on_rez, run_time_permissions, sensor, touch, touch_start, touch_end
* Make state_exit, moving_end, moving_start, not_at_rot_target, not_at_target ↵Justin Clark-Casey (justincc)2013-11-161-7447/+7460
| | | | | | | and timer LSL events generate a syntax error if inappropriately given arguments. This matches behaviour seen on the LL grid and a previous change for state_entry. These are all the events which should take no arguments
* If the LSL state_entry() event definition contains any parameters, then ↵Justin Clark-Casey (justincc)2013-11-021-7468/+7673
| | | | | | | | generate syntax error as seen on the LL grid This is done through the parser and so generates the same syntax error message if any parameters are wrongly specified for this event. We were already enforcing event names in the parser. This is only for state_entry so far as an initial test of the approach - appears to work correctly.
* Revert "Bind ~ and ! operators in LSL tighter in order to resolve issues in ↵Justin Clark-Casey (justincc)2012-06-111-3956/+3978
| | | | | | | | LSL where these aren't evaluated propertly." This reverts commit a8a9d13dc07bc9e23ebf439cbea5ece6ae002315. Accidentally committed, this patch might not be the correct approach.
* Bind ~ and ! operators in LSL tighter in order to resolve issues in LSL ↵Justin Clark-Casey (justincc)2012-06-091-3978/+3956
| | | | | | where these aren't evaluated propertly. Addresses http://opensimulator.org/mantis/view.php?id=3268
* Allow empty assignment in for-loopMike Mazur2009-06-071-7509/+7685
| | | | | | | | | | | | For loops with no assignment are no longer syntax errors. For example, this is now valid: for ( ; i < 10; i++) { ... } Corresponding changes to lsl.{lexer,parser} in r99 in opensim-libs. Fixes Mantis #2501. Fixes Mantis #2884.
* Make the LSL HTTP server create and give out URLs to scriptsMelanie Thielker2009-05-131-7454/+7492
|
* Allow empty statements in LSL (; followed by ;). Fixes Mantis#2320Homer Horwitz2008-12-071-7665/+7735
|
* Refactor XEngine parser as per suggestions from mikemMelanie Thielker2008-09-231-35/+8
|
* This is an attempt to fix the handling of constants in LSL.Melanie Thielker2008-09-011-8/+8
| | | | | | | | | | It wraps constants in new LSLType(x), so that lists with constant values are processed correctly. Contains changes to the lsl.parser.cs that are not (yet) reflected in opensim-libs, since this experimental patch affects XEngine only. Also contains nuts.
* Allow the list hack from issue 1863 to compile, however its behavior isMike Mazur2008-07-311-7699/+7741
| | | | | | | different than in SL. See http://opensimulator.org/mantis/view.php?id=1863 for details.
* Allow assignments in if/while/do-while control statements. Fix issue 1862.Mike Mazur2008-07-311-7692/+8011
|
* Fix issue 1860; exception thrown in the parser on if/if-else/for/while/do-whileMike Mazur2008-07-311-5/+5
| | | | | | statements with no body.
* Mantis#1728. Thank you kindly, Mikem for a patch that solves:Charles Krinke2008-07-141-7071/+7644
| | | | | | The compiler was missing grammar rules for += etc. operators on vector.member variables, which the attached patch implements.
* Thanks Mike for another LSL compiler patch which fixes a bug where 'vector ↵Johan Berntsson2008-07-111-6947/+7211
| | | | v=<0, 0, -0.5>' caused a syntax error, and implements multiple assignments in one line (x = y = 3;)
* another patch from Mike: the llscript compiler is now available in XEngine ↵Johan Berntsson2008-07-081-0/+9803
as well. Thanks Mike