Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 28 million developers.Sign up
NEW: LeMP and syntax highlighting has been combined into a single Visual Studio extension! If you're using Visual Studio 2015 or Visual Studio 2017, just download and run LeMP_VisualStudio.vsix (be sure to uninstall any older versions first). If you're using an old version of Visual Studio, download LeMP2.6.2.zip instead and use LoycFileGeneratorForVs.exe which supports VS2008 through VS2015; v2.6.2 will probably be the last release that supports your old version.
LeMP2.6.2.zip contains the Loyc library DLLs for version 2.6.2; generally it is recommended to use NuGet packages instead, but AppVeyor's automatic updating of NuGet packages is broken at the moment. The zip file also contains two installers for older versions of Visual Studio: LoycFileGeneratorForVs.exe installs the single-file generator and LoycSyntaxForVs.vsix installs syntax highlighting only.
Please visit the following links to learn about recent changes:
Please visit the following links regarding
The main new features are
#useSequenceExpressions;, which is used near the top of an EC# file to enable the quick-bind operator
::and in-situ declaration of
refvariables as in
int.TryParse(s, out int x)
- LLLPG now supports an ANTLR-style input mode in which grammars can look very similar to ANTLR grammars (see here for more information)
- Unveiled the Macro Reference Manual
- Added macros:
replaceplus preprocessing of initial parameters).
MacroProcessorTaskintroduces two global-scoped Symbols,
#setAssertMethodmacros, since you can now just use
#snippet #assertMethod = AssertMethod;
on_throw_catchso that it's made of keywords.
- Code contracts:
[ensuresFinally], which checks a postcondition in
- Changed Contract Attribute error messages to match MS Code Contracts
- Code contract attributes now support lambda functions
- Changed public interface of
LeMP.Compilerto make it a bit more flexible and easier to use
ParsingService: added global language "registration" feature.
- Loyc.Essentials: added
TryGetValueextension method for
- Misc., e.g. renamed some members of
- Bug fix to
IMacroContext: made macro dictionary fully immutable
Instructions: Please extract the zip file to its own folder. Run
mono LeMP.exe --editor to try it out on Linux. To use in Visual Studio, run LoycFileGeneratorForVs.exe to install VS Custom Tool, and run LoycSyntaxForVs.vsix to install the syntax highlighter.