aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Mantis#1931. Thank you kindly, Kinoc for a patch that:Charles Krinke2008-08-1311-257/+1068
| | | | | | | | | | | * Yield Prolog 1.0.1 Released : it passes all but 9 of the 421 tests in the ISO Prolog test suite (97.8%) . * support dynamic predicates and rules. * support 'import' to use external static functions improves connection to C# functions * Matches Yield Prolog r831
* 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-312-10/+14
| | | | | | statements with no body.
* Use new LSL compiler by default in DotNetEngine and XEngine. Fix issues ↵Mike Mazur2008-07-271-20/+19
| | | | 1651, 1339.
* Log to console if C# line/column lookup fails.Mike Mazur2008-07-271-1/+2
|
* Replace the try/catch with a null check.Mike Mazur2008-07-241-6/+3
|
* Update svn properties. Formatting cleanup. Remove a compiler warning.Jeff Ames2008-07-231-1/+1
|
* Enable LSL <-> C# source location mapping when reporing compiler errors to ↵Mike Mazur2008-07-231-0/+16
| | | | the user in-world. This method is not yet perfect but is an improvement in accuracy over the existing method.
* First version of position mapping between LSL <-> C# implemented.Mike Mazur2008-07-232-120/+254
|
* Mantis#1801. Thank you kindly, Junta_Kohime for a patch that:Charles Krinke2008-07-211-1/+1
| | | | | | | | | | | I found a problem trying to get s value directly from a quaternion q. Compiling a script which directly access to q.s value, caused the following error: CS0103: 'The . symbol cannot be used in LSL except in float values or vector components'. Detected around: q.s I did a small change to allow alphabetic letter "s" to be interpretated as valid identifier. This solves the problem.
* squashing warnings crittersDr Scofield2008-07-162-1/+10
|
* Mantis#1753. Thank you kindly, Kinoc for a patch that:Charles Krinke2008-07-167-1121/+2548
| | | | | | Brings Yield Prolog up to date with sourceforge version 0.9.10 Patched applies to both DotNet and XEngine.
* 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;)
* Patch from Mike: errors from the LSL/C# compilers are now reported to the ↵Johan Berntsson2008-07-101-1/+1
| | | | user in-world
* Patch from Mike which removes a lexer warning in the LSL compiler.Johan Berntsson2008-07-091-9593/+9326
|
* another patch from Mike: the llscript compiler is now available in XEngine ↵Johan Berntsson2008-07-082-0/+4
| | | | as well. Thanks Mike
* llscript compiler patch from Mike: adds LSL jumps and implicit variable ↵Johan Berntsson2008-07-084-7194/+7574
| | | | initializations
* Copyright notices and formatting cleanup.Jeff Ames2008-07-062-537/+591
|
* mini-warnings-safari, plus cleanup of IUserServices method naming.Dr Scofield2008-07-041-1/+1
|
* The new llScript-cs parser. Thanks MikeJohan Berntsson2008-07-045-0/+29071
|
* last round of warning squashing. calling it a day now.Dr Scofield2008-06-2711-35/+83
|
* Mantis#1475. Thank you kindly, Kinoc for a patch that:Charles Krinke2008-06-072-222/+830
| | | | | | | This patch brings the Yield Prolog in sync with the YP r669. Biggest item is support for functions asserta and assertz , providing dynamic databases.
* Mantis#1451. Thank you kindly, Mikem for a patch that addresses:Charles Krinke2008-06-051-1/+1
| | | | | | | | | | | | | LSL scripts in which a float type is cast to a string or a string type is cast to a float do not compile. When the script is translated from LSL to C#, the LSL float type is translated into double. There is no string <-> double cast in C#, so compilation fails. There is a LSLFloat type, however it seems unfinished and is not used. I am attaching a patch that implements the LSLFloat type. I have also added two methods to the LSLString type to facilitate float <-> string casts.
* Mantis#1441. Thank you kindly, Kinoc for a patch that:Charles Krinke2008-06-041-4/+30
| | | | | | | This patch adds the prolog interperter helper object ONLY for YP code, and not every script compiled. Mirrors the other languages like JS and VB more closely.
* Formatting cleanup, minor refactoring, svn properties.Jeff Ames2008-06-0417-176/+176
|
* remove the prolog parser from all LSL/C# scripts (it was adding overheadSean Dague2008-06-021-12/+6
| | | | | | | | to every script in most environments). This will break prolog support. Prolog code needs to generate it's template script more like how javascript does.
* Update svn properties.Jeff Ames2008-06-0117-13548/+13543
|
* * Enabled the Yield Prolog Script Enginelbsa712008-05-311-8/+25
|
* * minor: Add copyright statementJustin Clarke Casey2008-05-311-0/+28
|
* * Remove rogue ? to get things compiling againJustin Clarke Casey2008-05-311-1/+1
|
* Mantis#1314. Thank you kindly, Kinoc for YieldProlog.Charles Krinke2008-05-3117-0/+13548
| | | | | | | | I have added everything *except* the patch to .../LSL/Compiler.cs. The Compiler.cs patch has a namespace issue. Lets make a second patch to close the gap.
* Update svn properties. Formatting cleanup.Jeff Ames2008-05-301-4/+4
|
* * Fix string literal with URL + LLcommand();Teravus Ovares2008-05-291-5/+5
| | | | | | * Added 'detected around: value' when a x.Y detect occurs to help debug. * Fixed object text is too long to store to the database (wikilith)
* * Resolves comment removal in string literals in the LSL2CSConverterTeravus Ovares2008-05-281-17/+19
|
* another take on the whole string cleansing, by adding specific poisonSean Dague2008-05-271-2/+5
| | | | | | keywords in foo.bar strings. Add items to the poison array to block them.
* * Revert last commit as it opens sim owners up to all sorts of nasty ↵Teravus Ovares2008-05-271-3/+3
| | | | | | | | scripts. * If the regex that we're using isn't good enough, we really need to make it better.
* comment out the x.y security check in the script engine because it's so ↵Sean Dague2008-05-271-3/+6
| | | | | | | | aggressive it blocks string = "http://osgrid.org", amoung other things.
* Formatting cleanup, minor refactoring. Fixed some comparisons of value ↵Jeff Ames2008-05-181-12/+3
| | | | types and null.
* * whoops, misplaced / where should have been \Teravus Ovares2008-05-171-1/+1
|
* * Update on the script engine LSL parser. Blocks all static objects and ↵Teravus Ovares2008-05-171-8/+50
| | | | method references.
* Formatting cleanup.Jeff Ames2008-05-162-29/+10
|
* * Tweaked a regex that was returning invalid results in some cases.Teravus Ovares2008-05-131-1/+1
|
* * Change LSL -> C# translated script console output to use the logger (at ↵Justin Clarke Casey2008-05-071-4/+7
| | | | DEBUG level) rather than Console.Writeline
* Thank you, Middelink for a patch that fixes the regular expresionCharles Krinke2008-05-071-2/+2
| | | | | | missing the numbers after the initial letter of the identifier.
* * Deletes my EventReader ScriptRewriter. It isn't required to rewrite the ↵Teravus Ovares2008-05-012-489/+1
| | | | | | | script to publish the events anymore. * Introduces a language(regex) independent event recognizer and publishes the events the script listens.
* Patch from Melanie: 0001077: [PATCH] LSL types cannot be cast implicitly or ↵Teravus Ovares2008-04-303-241/+499
| | | | | | | explicitly in many cases Thanks Melanie! * Also, I moved the event parser and re-writer to a separate static object. More work will be done here shortly.
* * For info about this commit, see last commit.Teravus Ovares2008-04-261-3/+16
|
* * Error on System. references with 'CS20003: 'System' is null or not an object"Teravus Ovares2008-04-261-0/+5
|