tag:blogger.com,1999:blog-3283609923804350642.post6656996540468061881..comments2023-06-05T23:03:15.094-07:00Comments on Tor Norbye's Blog: Another NetBeans+Ruby PreviewTor Norbyehttp://www.blogger.com/profile/00746799716822637466noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-3283609923804350642.post-70846741470035445352006-12-15T18:31:41.000-08:002006-12-15T18:31:41.000-08:00Just 3 words: I can't wait !I hope Ruby refact...Just 3 words: I can't wait !<br>I hope Ruby refactoring tools will be as good as it is for Java. Is there a debugger for seen?<br>alexhttp://alexis-notes.blogspot.com/noreply@blogger.comtag:blogger.com,1999:blog-3283609923804350642.post-7839100662995692172006-12-11T22:52:33.000-08:002006-12-11T22:52:33.000-08:00There is full semantic analysis using the JRuby AS...There is full semantic analysis using the JRuby AST. IF you look carefully at the screenshot you can see that regexp1, regexp2 and expr are all shown in gray; that is because these are unused local variables. Unfortunately I don't show you any used local variables (since this is a contrived example) so it's hard to notice that these colors are different (although there are local vars in the older screenshot). The semantic analysis is done in a separate phase from pure lexing obviously - this is the "asynchronous parser task scheduling" part I was referring to.<br>Tor Norbyehttp://blogs.sun.com/tornoreply@blogger.comtag:blogger.com,1999:blog-3283609923804350642.post-50591986370668108342006-12-11T19:50:30.000-08:002006-12-11T19:50:30.000-08:00Clearly some pretty interesting stuff going on the...Clearly some pretty interesting stuff going on there with NB6. Given that you are parsing tokens by divide-n-conquer, do you still uptain a full AST (allowing for future semantic checking at pre-compile time) or is it purely for syntax highlighting purposes?<br>Caspernoreply@blogger.com