Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>For users it's usually better to use languages with a more forgiving syntax, for obvious reasons. So I would recommend using a DLR based-language. If you have the time and resources, a specialized DSL is the best choice, because you can offer a small and easy-to-learn syntax, and it's easier to keep the user from doing things they should not be doing (like accessing the filesystem, for instance...)</p> <p>I can't speak from experience, but, from what I've seen, the DLR can be quite fast (IronPython does better than native Python!). But dynamic dispatch always entails a slight overhead. On the gripping hand, cross-AppDomain calls are pretty expensive. While the dynamic dispatch cost is paid everywhere inside the script, the cross-AppDomain cost is paid only once per script call. Which one does better depends on how much your scripts will do.</p> <p>Embedding a DLR Scripting Host is <a href="https://blogs.msdn.com/seshadripv/archive/2008/06/24/how-to-write-a-simple-dlr-host-in-c-using-hosting-api.aspx" rel="nofollow noreferrer">not difficult at all</a>. What's difficult is to roll your own DSL, if you choose to go that way.</p> <p>You could also look into <a href="http://boo.codehaus.org" rel="nofollow noreferrer">boo</a>. It's a static CLI language that looks like Python, thanks to type inference. Its compiler is highly extensible, and I've had some success writing some small DSLs on it. You could also look into Oren's book <a href="http://manning.com/rahien/" rel="nofollow noreferrer">Writing DSLs with boo</a>.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload