Comments (3)
I spent about half an hour to see if this could be done simply.
Some of the required Reflection.Emit APIs are missing such as DynamicMethod and TypeBuilder.CreateType()
However given that in most cases a .Net Standard library will either be used on .Net Framework or .Net Core, I think it might be worth targeting .Net Standard so that cross platform libraries can use it without needing to multitarget, and throwing a NotSupportedException if used on an AOT platform where Reflection.Emit is not supported.
from dlr.
There was a bit of back and forth related to using the Reflection.Emit package. It looks like Microsoft finally settled on having a .NET Standard 2.0 version of the package (even if it throws) so I would be fine with having one as well.
from dlr.
Resolved by #176
from dlr.
Related Issues (20)
- StackOverflowException with large DynamicMethod's
- Interpreter
- DLR for Xamarin HOT 1
- Basic how-to for embedding a new language (with coroutines) HOT 3
- Make obsolete duplicate methods
- Add .NET Core 3.0 target that includes COM interop features HOT 2
- Variant Interop Bug HOT 3
- MutableTuple.GetSize does not report proper size if the tuple contains another tuple
- Microsoft.Scripting.Generation.CompilerHelpers.Compile<T> throws PNSE on Mono
- License of DLR sample code HOT 3
- Is `ParamDictionaryAttribute` in the right namespace? HOT 1
- Surface DLR docs for deep linking HOT 13
- A case against positional or by keyword binding of ParamArray/ParamDictionary parameters HOT 5
- Control-C handler uses obsolete Thread.Abort HOT 4
- SYSLIB0006
- Properly handle CA1416 in COM related code
- Advice for debugging hang in CreateDelegate in my DLR-based language? HOT 1
- Suggestion about Assembly.Save and Expression.CompileToMethod HOT 2
- How to add/send ancillary info from CallSites to Binders?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dlr.