paulbartrum / jurassic

A .NET library to parse and execute JavaScript code.
MIT License
873 stars 122 forks source link

Support for Xamarin / Mono for latest version of jurassic #87

Open patriklindstrom opened 7 years ago

patriklindstrom commented 7 years ago

Would be great to use this library in app development but I did not get the nuget package or any of the branches of jurassic to work in my Xamarin project. I did however find a three year old fork of the project that @vargaz has made commitments to. And I got it to work. mono/jurassic Would be great if it could be merged .

patriklindstrom commented 7 years ago

Ok I have not tested it yet on iOS. According to this article it might not work. https://developer.xamarin.com/guides/ios/advanced_topics/limitations/#No_Dynamic_Code_Generation . Maybe I have to call on iOS native stuff for iPhone.

niuk commented 7 years ago

Define __MonoCS__ in the Jurassic project to use the ReflectionEmitILGenerator instead.

tomasz-soltysik commented 6 years ago

@niuk Now this define does nothing (at least in master branch). I think limitation @patriklindstrom told about is still intact.

Lelelo1 commented 4 years ago

Which version supports mono? Could I be hit by it?: https://github.com/paulbartrum/jurassic/issues/169