Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm looking for a high level overview of how one goes from an AST to working code via the DLR, does anyone have (a link for) something like that?
Here is a good 3 part tutorial about building a basic language from the parsing to the actual tree construction to the dlr mapping.
http://www.bitwisemag.com/2/DLR-Build-Your-Own-Language
All the current DLR specs and documents are located here:
http://dlr.codeplex.com/wikipage?title=Docs%20and%20specs&referringTitle=Documentation
This tutorial is the one that I used to learn the DLR:
http://www.dotnetguru.org/us/dlrus/DLR2.htm
It builds a custom version of javascript on the DLR.
And if all else fails you can look here:
http://myjscript.codeplex.com/sourcecontrol/changeset/view/8678?projectName=MyJScript#109043
to see the actual parser implementation, though I would probably recommend using Antlr as your parser. That's what I use, though I've got a fair bit of Antlr experience:)
Here is a link that maybe helps: http://www.codeproject.com/KB/codegen/astdlrtest.aspx
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I have big project (not mine) in java EE , at first when I looked at it there were many many classes, when I try to understand a method of class there is another class which calls method in it and again and again, It's really hard to understand the code (there is no documentation) is there any tool to help me ?
Unfortunately there aren't really any tools to help with this, the most that you can hope is that someone created a UML Doc for the code you're viewing. However, as this is not the case, the best place to start is at the main method and slowly traverse the setup. I find that it helps to keep notes and diagrams, describing (functionally) what things do and in what order they happen.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Working on building out a Web2Print product I need some kind of editor that will allow a user to manipulate graphics and ultimately generate a PDF. There are plenty of HTML 2 PDF APIs available but I was hoping someone might have experience with something a little more integrated and suited for dealing with graphics/fonts/text?
In PHP the best opensource option is TCPDF http://www.tcpdf.org/
I wanted to answer this and update everyone on the solutions that I found. Through the Magento extension store I was able to find several commercial (although still very reasonably priced) solutions:
http://www.zetaprints.com/ and http://layoutbuddy.com/ look like the most full featured and supported (as well as no up-front licensing.)
Thanks for all of the responses!
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I've been having a very difficult time finding an easy to follow tutorial or example of using the interception extension with Ninject, or ideally, a working example.
I've tried the below tutorial, but immediately had problems getting namespaces to work for the Intercept() call:
http://innovatian.com/2010/03/using-ninject-extensions-interception-part-1-the-basics/
Have a look at the unittests that come with the source code. There is an example for each feature of the extension: https://github.com/ninject/ninject.extensions.interception/tree/master/src/Ninject.Extensions.Interception.Test
I ran into this issue with the tutorial you linked as well. I was able to figure out the namespace you need to import is Ninject.Extensions.Interception.Infrastructure.Language;
Also, you need to reference either the
Ninject.Extensions.Interception.DynamicProxy or
Ninject.Extensions.Interception.LinFu implementation as well as the Ninject.Extensions.Interception package (and all dependencies). It worked like a charm after that for me.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Can anyone point me to a really simple hello world type of application that introduces ScriptingBridge? Something that takes you step by step to creating a 1 class - 1 method project that can be instantiated from ruby/python/applescript, etc.
I'm having a hard time wrapping my head around what is actually required to create a scriptable cocoa app and haven't been able to find any concrete examples or tutorials.
There is a set of sample codes in ADC!
Simple Scripting
Simple Scripting: properties
Simple Scripting: verbs
Simple Scripting: objects
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Anyone know of any examples that shows COM programming via Lua? Could require a library.
I need to write some external scripts for Photoshop, so wondering if it's possible with Lua.
Have a look at Lua for Windows. It contains LuaCOM. I haven't tried it myself, though.
As gimpf said, take a look at LuaCOM. You can either get it from its official site, which is the latest version (1.4). Unzip it somewhere and take a look at the folder "Demo", which includes examples for:
ADO
Powerpoint
SAPI (Speech API)
WMI
They are more like test cases than examples but you can get the idea.
You can roll your own system using CInvoke and some custom C/C++ code combined with Lua meta-tables.
http://www.nongnu.org/cinvoke/
From experience though I can't recommend this, it is pretty complicated and requires a lot of effort to get it right and make it bulletproof.