LeMP 30.1.3
dotnet add package LeMP --version 30.1.3
NuGet\Install-Package LeMP -Version 30.1.3
<PackageReference Include="LeMP" Version="30.1.3" />
paket add LeMP --version 30.1.3
#r "nuget: LeMP, 30.1.3"
// Install LeMP as a Cake Addin #addin nuget:?package=LeMP&version=30.1.3 // Install LeMP as a Cake Tool #tool nuget:?package=LeMP&version=30.1.3
README
The ecsharp repository holds several tools for enhancing .NET and C# development:
The Loyc .NET Core libraries, a set of libraries whose theme is "stuff that should be built into the .NET framework, but isn't." These libraries have their own repository and home page, and the Loyc .NET Core repository is the
Core/
folder in this repository. One of these libraries (Loyc.Syntax) supports universal syntax trees, LES2 and LES3.Enhanced C# (or EC#) is a liberalization and regularization of the C# language. You can think of EC# as a C# preprocessor, since only the "front end" part of the project is done. The preprocessor consists of three mostly-independent parts,
- The Enhanced C# parser
- LeMP, the Lexical Macro Processor
- LeMP Standard Macros
LLLPG, the Loyc LL(k) Parser Generator, which is used to generate code from the grammars of Enhanced C#, LES, and LLLPG itself.
These projects are the first products of the Loyc (Language of Your Choice) initiative.
Installation
If you just want the core libraries, you can find them in NuGet. Otherwise, see
- How to set up LeMP or LLLPG in Visual Studio
- How to set up LeMP or LLLPG on other platforms
- Download page
How to build
Open Loyc.netfx.sln in Visual Studio (or Loyc.netstd.sln for the .NET Standard edition), set the build configuration to Debug, and build it!
If you need to change any .ecs or .les source files (Enhanced C# or LES), you'll need to install the latest LeMP extension for Visual Studio, which can be found on the Releases page. There is no build step for these files, so the extension is not required for building. Unfortunately VS Code is not supported at this time - let me know if you need support.
If Visual Studio complains about OxyPlot, the easiest fix is to unload the LoycCore.Benchmarks project (nothing depends on it). To fix it properly, open Core\Loyc.netstd.sln, right-click the solution, choose "Restore NuGet packages", build the solution (just to make sure it worked), and then return to the original solution.
Visual Studio may complain, while building a .NET Framework 4.7.2 project, that 'Your project does not reference ".NETFramework,Version=v4.7.2" framework...." if you built the .NET Standard version of the same project earlier. To fix this, locate the folder named obj
inside the project from which the error message originated, delete the entire obj
folder, and rebuild (the project.assets.json
file inside that folder seems to be causing the error).
How to publish new versions
This is more of a note-to-self than anything. Pull-requestors can ignore it.
- Rebuild all (Release configuration in Loyc.all.sln) and run tests (Tests.exe)
- Update version in Core/AssemblyVersion.cs
- Update appveyor.yml at
version:
(first line) - Update appveyor.yml at
- set SEMVER=
- (Tentative) If the VS extension is to be released, update the version number in Visual Studio Integration\LoycForVS2017\source.extension.vsixmanifest
- If a GitHub release is to be created, uninstall the LeMP VS extension and rebuild it with UpdateLibLeMPAndReinstall.bat. Manually check that it still works.
- Commit changes
- Push changes and check whether the build succeeded on AppVeyor.
- On success, create an (unannotated) git tag like
v31.1.0
locally:git tag v31.1.0
. - Push the tag to make Appveyor publish NuGet packages:
git push origin v31.1.0
. - Every so often, create a release on GitHub.com. Prepare a zip file from the built binaries and include Lib\LeMP\LeMP_VisualStudio.vsix separately as part of the release.
- Update version-history.md on ecsharp.net and core.loyc.net, and update documentation by running doc/Doxygen.bat in the gh-pages branch.
- If applicable, release a new version of the extension on the Visual Studio Marketplace
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.7.2
- Loyc.Collections (>= 30.1.3)
- Loyc.Ecs (>= 30.1.3)
- Loyc.Essentials (>= 30.1.3)
- Loyc.Interfaces (>= 30.1.3)
- Loyc.Syntax (>= 30.1.3)
- Loyc.Utilities (>= 30.1.3)
-
.NETStandard 2.0
- Loyc.Collections (>= 30.1.3)
- Loyc.Ecs (>= 30.1.3)
- Loyc.Essentials (>= 30.1.3)
- Loyc.Interfaces (>= 30.1.3)
- Loyc.Syntax (>= 30.1.3)
- Loyc.Utilities (>= 30.1.3)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on LeMP:
Package | Downloads |
---|---|
LLLPG
LLLPG is a recursive-decent parser generator for C#, with Visual Studio integration and a feature set better than ANTLR version 2. This package contains the core LLLPG executable, which can be run from the command-line. Visual Studio users should typically download a release of LeMP from https://github.com/qwertie/ecsharp/releases instead of using this package. |
|
Backlang.Contracts
A library for writing custom Backlang plugins |
|
Backlang.Core
Package Description |
|
Backlang.Driver
The Backlang Compiler Chain |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
30.1.3 | 131 | 10/24/2024 |
30.1.2 | 173 | 6/30/2024 |
30.1.1 | 163 | 4/29/2024 |
30.1.0 | 4,037 | 6/16/2022 |
29.0.3 | 1,048 | 1/13/2021 |
29.0.2 | 594 | 1/12/2021 |
29.0.1 | 564 | 1/12/2021 |
29.0.0 | 682 | 12/25/2020 |
28.4.0 | 654 | 11/30/2020 |
28.3.0 | 667 | 11/16/2020 |
28.2.0 | 689 | 7/24/2020 |
28.1.0 | 691 | 7/6/2020 |
28.0.0 | 732 | 7/4/2020 |
27.2.1 | 743 | 5/12/2020 |
27.2.0 | 822 | 4/5/2020 |
27.1.5 | 735 | 3/30/2020 |
27.1.4 | 756 | 3/30/2020 |
27.1.3 | 738 | 3/30/2020 |
27.0.4 | 775 | 3/10/2020 |
27.0.2 | 755 | 2/18/2020 |
26.8.5 | 827 | 1/15/2020 |
26.8.1 | 1,050 | 5/13/2019 |
26.8.0 | 819 | 5/12/2019 |
26.6.0 | 858 | 3/17/2019 |
26.5.0 | 1,230 | 2/17/2019 |
26.4.0 | 1,343 | 9/29/2018 |
26.2.0 | 1,261 | 1/24/2018 |
24.3.0 | 2,406 | 1/10/2017 |