Re: Custom key words and statements in C#, possible?
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
- From: Jon Skeet [C# MVP] <skeet@xxxxxxxxx>
- Date: Tue, 24 May 2005 22:47:32 +0100
SpotNet <SpotNet@xxxxxxxxxx> wrote:
> More curiosity than actuality for now anyway, just wanted to ask if it's
> possible to extend C# by creating custom made key words and statements?
Not with the normal C# compiler. If you write your own compiler (or
extend the Mono one, for example) you can make it do whatever you like.
--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
.
Relevant Pages
- Re: Moving from 8051 to AVR
... Materials and hence microcontroller cost. ... And an alternative is to use another C compiler for the 8088. ... to an 8088 processor that is in a custom configuration totally unlike ... there are _other_ reasons for changing that just "to change, ... (comp.arch.embedded) - Re: SetCustomAttrubute Hangs with MarshalAs
... MarshalAs is a pseudo custom attribute, i.e. it is a hint for the compiler ... > public static void Main (string[] args) ... (microsoft.public.dotnet.framework.interop) - Custom compilertool for C++ projects as vs.net addin
... I currently compile them using the custom build feature of ... but I have to configure the custom build steps for every individual sourcefile. ... complete custom compiler tool with appropriate property pages for compiler settings and such. ... The VSIP SDK seems to be based on C++, is it possible to write such an ... (microsoft.public.vstudio.development) - Re: Type safety, C++ and code generation
... It uses the "negative logic" - in other words, specifies what is forbidden, not what is allowed - so it's more prone to errors than the "positive logic", where you specify what *is* supported instead. ... In the "positive logic" approach you can start with the default setting and the compiler will point you to each new operation usage in your code - then, you can either consciously extend the type definition to cover the new use case or reject it if it was a bug. ... (comp.lang.ada) - Re: declarative prograaming (?) in C#
... Metadata is information that describes .NET types. ... metadata that the compiler *must* generate, and there is custom metadata ... Attribute suffix) is a *custom* attribute, it tells the compiler to add ... about serialization? ... (microsoft.public.dotnet.languages.csharp) |
|