Please add it :-) On Thu, Apr 2, 2009 at 12:00 PM, Craig Neuwirt <[email protected]> wrote:
> As they say, everyone is entitled to my opinion! > This validation approach might be worth adding to Rhino.DSL. All I did was > add a Validate to my dsl engine which used itself as a prototype to > construct a new validating engine (with same assemblies and namespaces) with > the dsl content and then performed the steps you suggested. I then cal > ForceCompiler and I am done. No caching or storage needed. > > cheers > > On Thu, Apr 2, 2009 at 10:52 AM, Ayende Rahien <[email protected]> wrote: > >> You are welcome, and no, I am not brilliant >> >> >> On Thu, Apr 2, 2009 at 11:36 AM, Craig Neuwirt <[email protected]>wrote: >> >>> Your a brilliant man Ayende. >>> Your suggestion worked great! >>> >>> Thanks a million >>> -craig >>> >>> >>> On Sat, Mar 28, 2009 at 1:47 PM, Ayende Rahien <[email protected]>wrote: >>> >>>> Please note that this will not do a full validation.a = "" >>>> a = 1 >>>> >>>> will compile, for example. >>>> member resolution will not be done, etc. >>>> The best solution, now that I think about it, is to use remove the >>>> EmitAssembly and SaveAssembly from the compiler pipeline >>>> that way we process it normally, including all the error checking, but >>>> we don't have to load the assembly. >>>> >>>> BTW, >>>> Can you tell me why you need this? >>>> >>>> >>>> On Fri, Mar 27, 2009 at 7:04 PM, Craig Neuwirt <[email protected]>wrote: >>>> >>>>> Great! I'll give it a try >>>>> >>>>> thanks Ayende >>>>> >>>>> >>>>> On Fri, Mar 27, 2009 at 6:29 PM, Ayende Rahien <[email protected]>wrote: >>>>> >>>>>> BooParser.Parse will give you a pretty good indication on that. >>>>>> >>>>>> >>>>>> On Wed, Mar 25, 2009 at 4:34 PM, Craig Neuwirt <[email protected]>wrote: >>>>>> >>>>>>> Is it possible to determine if a dsl is valid without loading the >>>>>>> Assembly in the current AppDomain or creating a new AppDomain? >>>>>>> Basically, I >>>>>>> just want to verify the syntax is valid >>>>>>> >>>>>>> thanks, >>>>>>> craig >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >>> >>> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en -~----------~----~----~----~------~----~------~--~---
