AIOTrade, Scala for NetBeans, NLP
For past years, I worked on AIOTrade project, which uses Machine Learning technology to find the structural data pattern.
Then, to find a better programming language for AIOTrade, I tried Erlang, Scala, and wrote IDEs for these candidate languages, I learnt a lot of Formal Language Processing.
Now, finally, I dove into Natural Language Processing, and have a good chance to composite the knowledge of Statistics Learning, Rule based Language Processing on massive structural/un-structural data under parallel computing environment.
The candidate programming language is Scala, I keep to improve the NetBeans support for Scala these days while reading the books/code of NLP. During the long weekend, I've got some improvements on it, here is a summary:
- Migrated to NetBeans' CSL
- Use fsc instead of scalac as the project building compiler
- Fixed setting breakpoint in closure statement
- A basic import-fixer
- Code assistant for local vars and functions
- Run/Debug? single file
The plugins can be got for beta testing on [Developing Update Center (for NetBeans 6.7 beta+), and will be released around the date of official NetBeans 6.7.
![(please configure the [header_logo] section in trac.ini)](/chrome/!97aa87b5/site/your_project_logo.png)
rss
Comments
Good to hear that you'll continue to work on the Netbeans Scala plugin. So far it worked quite well for me, but it still has it's quirks (e.g. formatting could be better, sometimes inserting a new line doesn't work in certain positions). Thank you!
The mod-global color settings is still not saved/loaded (or used) correctly. Try this code:
final object test {
} def main(args: Array[String]) :Unit = {
}
... and observe that mod-global affects the color of "test" (in the "if" statement block).
Yes, thank you so much for your Scala support.
I've discussed this privately with you before, but was wondering if any of these changes bring NetBeans + Scala closer to the object hover/mouseover for package name and doc (that Eclipse has).
@Daniel, yes, I'll keep things going.
@89.212.9.192, the mod-global is not used yet.
@Bryan, I just added package info for popped up doc.
Caoyuan, I installed most recent NetBeans nightly build (NetBeans Dev 200905101401) and for some reason it shows java.lang.AssertionError? (listing a lot of modules, including scala and android ones) and then does not show Scala neither under installed nor under available plugins (the same for Android plugin). I do have http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz address specified for plugins. Any ideas?
Sorry, please remove my previous message if it isn't appropriate here. I found a source of my problems: it's Android plugin. Disabling it allows Netbeans and Scala plugin to work normally. (Also, I didn't see that Scala and Android plugins were actually installed, because "Show Details" needs to be checked to see them.
<i>@89.212.9.192, the mod-global is not used yet.</i>
It must be used somewhere. I tried completely new installation and changing it changes the color as I described. You're welcome to check for yourself. If you need, I can prepare a video demonstrating the issue. The issue is not critical, but it prevents people from using certain color combinations.
@boris_kolar, You are right on the mod-global usage, it's there for object refer. But, I tried your example code, the change of mod-global works. Here's my code: <blockquote> final object test {
}
object MainTest? {
} </blockquote>
<i>... the change of mod-global works</i>
Hmm, it seems settings are indeed saved on new installation, but not once the theme is changed. Here are the exact steps to reproduce the problem:
hi Caoyuan,
Thanks for sharing your projects. I tried blogtrader and I like it.
I have a silly question: why did you migrate AIOtrader to different platform as it already works well in java?
@89.212.9.192, Thanks for the case, I'll take a look.
@wumo, Good question. The main reason is that AIOTrade will be split to backend/frontend libs, the backend part includes all indicator computing architecture, which is now parallel computing ready. Scala has very impressive parallel lib: Actors. And, as the code/features increasing, I found Java is too verbose to write configuration/declaration likeness code. And other reasons.