-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am generating the scala AST using the following code:
val setting = new Settings(error)
val reporter = new ConsoleReporter(setting, in, out) {
override def displayPrompt = ()
}
val compiler = new Global(setting, reporter) with ASTExtractor{
override def onlyPresentation…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
Is there any best practice when working with AST:s?
I have a parsed expression AST. ConstantExpression, BinaryExpression etc.
I want to populate a GUI-dialog with information from the AST, and it's here where I get kinda confused because my code gets pretty messy.
Example:
expression = "Var1…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Is it possible to access the Abstract Syntax Tree(AST) inside the javac.exe programmatically? Could you provide an example?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've confirmed cucumber tests work fine without bundler, but with bundler it breaks. This is the error I get:
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.each (NoMethodError)
/home/senthil/rails/othersprograms/nmicho-teambox/vendor/plugins/cucumber/lib/cucumber/formatter/console…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I use AppEngine JRuby on Rails (SDK version 1.3.3.1) - a problem I encounter often is that after a few requests the server is getting really SLOW, until it dies and throws OutOfMemoryError on the terminal (OSX).
The requests themselves are very lightweight, not more than looking for an entity or…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a module that builds an app called MyApp. I have another that builds some testcases for that app, called MyAppTests. They both build their own APKs, and they both work fine from within my IDE. I'd like to build them using ant so that I can take advantage of continuous integration.
Building…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I compiling with Solaris 10 SPARC, jdk 1.6 from Sun, Ant 1.7.1 from OpenCSW.
I have no problem running hadoop 0.17.2.1
However, I have problem compiling/integrating hive with the error 'cannot find symbol', although I followed the tutorial.
I have the hive source code from SVN exactly from tutorial…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a module that builds an app called MyApp. I have another that builds some testcases for that app, called MyAppTests. They both build their own APKs, and they both work fine from within my IDE. I'd like to build them using ant so that I can take advantage of continuous integration.
Building…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Has anyone been able to compile JRuby on a s390x Linux system? I am trying to use LogStash, which apparently requires JRuby, however SLES 11 has no JRuby repo included.
jar ant produces the following.
compile-annotation-binder:
[javac] Compiling 18 source files to /home/user7/jruby-1.7.4/build/classes/jruby
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi -
I have a large ant build that I'm working on, that is currently running out of memory. One ways I've read that can help mitigate this problem is to use javac fork="true"
to run javac in a separate jvm.
My problem is that I need to compile the project with the IBM JDK (this is not the JDK…
>>> More