Reflection.Emit

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Soundwave-
    Carry your failures proud
    • Sep 2015
    • 644

    #16
    Re: Reflection.Emit

    Originally posted by xXOpkillerXx
    Yeah I'm using ILDASM and it makes it feel like a piece of cake. The long work will be to either map disassembled class dumps words to OpCodes/Builders or actually do some interpreter work (Sadly I don't think I can fully avoid/automate parsing of new written code). Owell, got work on my hands, job+school are time consuming so I might not progress quickly. Will keep this updated when I do.
    Well what exactly is the use case here?

    I am of the opinion that parsing code and using expressions will be much easier than any sort of disassembly/reassembly work, but I don't know what exactly you're trying to do so dunno.
    Originally posted by [11:38 PM] Hakulyte
    only person who can legit tilt me is like YoshL
    Originally posted by スンファンさん
    右に3回回らない限り間違います。

    Comment

    • xXOpkillerXx
      Forever OP
      FFR Simfile Author
      • Dec 2008
      • 4207

      #17
      Re: Reflection.Emit

      Originally posted by Soundwave-
      Well what exactly is the use case here?

      I am of the opinion that parsing code and using expressions will be much easier than any sort of disassembly/reassembly work, but I don't know what exactly you're trying to do so dunno.
      Parsing code if a big pain in the ass I already tried that sometime this year for another project. You gotta have all the language syntax rules laid out and that is just bs.

      Tbh the final goal isn't so clear to me either, but I'm thinking about writing code in idk a textbox in the app, have it compile and run when I want to. Something like that.

      Comment

      • Soundwave-
        Carry your failures proud
        • Sep 2015
        • 644

        #18
        Re: Reflection.Emit

        Originally posted by xXOpkillerXx
        Parsing code if a big pain in the ass I already tried that sometime this year for another project. You gotta have all the language syntax rules laid out and that is just bs.

        Tbh the final goal isn't so clear to me either, but I'm thinking about writing code in idk a textbox in the app, have it compile and run when I want to. Something like that.
        Yeah there's no way around parsing afaik unless you can put it into some form that can be compiled with MSVC.

        I believe there's fairly rigorous lexical specifications for C# which definitely simplifies your job in that regard though.
        Originally posted by [11:38 PM] Hakulyte
        only person who can legit tilt me is like YoshL
        Originally posted by スンファンさん
        右に3回回らない限り間違います。

        Comment

        Working...