Execution-Time Code generator for CSharp


Version: 1.01
Size:
23KB
Requirements:
No special requirements
Seller:
garret.ru
Price:
Free
System:
Windows XP/2000/98
Rating:
4.6
License:
Freeware

Description - Execution-Time Code generator for CSharp



INTRODUCTIONIf you come from a C++ background, it`s likely you have a very "compile-time"view of the world. Because a C++ compiler does all code generation when the code is compiled, C++ programs are Static systems that are fully known at compile time. The Common Language Runtime provides a new way of doing things. The compile-timeworld still exists, but it is also possible to build dynamic systems where new codeis added by loading assemblies or even by writing custom code on the fly.ABOUT "RUN TIME CODE GENERATOR"This products provides very efficient way of handling user requests manipulating withelements of collections. Request is just String with valid CSharp expression. Code generatorgenerate new class which Apply method returns result of calculation of this expression. So it can be used as very fast query system which selects objects from the collectionaccording to user specified criteria (very small database engine).It can be also used if you want to perform some user specified calculation for all members of the collection.Collection can consists of just one element, in this case code generator can be used asvery fast calculator. Certainly Dynamic Code generation makes sense only when expression once specified will be executed multiple times or it will be applied to collection with large number of members.HOW TO USEThis product currently generates two kind of objects: collection filters and mappers.Filter is used to select members of collection matching user supplied criteria.Mapper is used to perform some calculation for all members of the collection and Create new collection with results of such calculation.Classes MapperGenerator and FilterGenerator are used to generate mappers and filters correspondently.



More in Java & JavaScript-Execution-Time Code generator for CSharp

Perform Some Code Generator Time Code Generator