RSS

Recent news

Erlang Plugin for NetBeans in Scala#8: Pretty Formatting and Pair Matching

Caoyuan Blog - February 17, 2009

Now let’s go on the complex part: Pretty Formatting and Pair Matching. I say they are complex, not because these features are much heavier on language’s semantic complex. Implementing these features mostly deals with lexer tokens. But it’s a bit brain-dried work to across forward/backward…

More (0 comments)

Erlang Plugin for NetBeans in Scala#8: Pretty Formatting and Pair Matching

Caoyuan Blog - February 16, 2009

Now let’s go on the complex part: Pretty Formatting and Pair Matching. I say they are complex, not because these features are much heavier on language’s semantic complex. Implementing these features mostly deals with lexer tokens. But it’s a bit brain-dried work to across forward/backward…

More (0 comments)

Erlang Plugin for NetBeans in Scala#7: Occurrences Finder

Caoyuan Blog - February 14, 2009

During the AST node visiting (AstNodeVisitor.scala), I’ve gathered a lot of variable definitions and their references, we can now try to get editor to mark these occurrences. There are preliminary functions in AstScope.scala, such as findOccurrences(AstItem). You can override AstDfn#isReferredBy(AstRef) and AstRef#isOccurence(AstRef) to get accurate…

More (0 comments)

Erlang Plugin for NetBeans in Scala#7: Occurrences Finder

Caoyuan Blog - February 14, 2009

During the AST node visiting (AstNodeVisitor.scala), I’ve gathered a lot of variable definitions and their references, we can now try to get editor to mark these occurrences. There are preliminary functions in AstScope.scala, such as findOccurrences(AstItem). You can override AstDfn#isReferredBy(AstRef) and AstRef#isOccurence(AstRef) to get accurate…

More (0 comments)

Erlang Plugin for NetBeans in Scala#7: Occurrences Finder

Caoyuan Blog - February 13, 2009

During the AST node visiting (AstNodeVisitor.scala), I’ve gathered a lot of variable definitions and their references, we can now try to get editor to mark these occurrences. There are preliminary functions in AstScope.scala, such as findOccurrences(AstItem). You can override AstDfn#isReferredBy(AstRef) and AstRef#isOccurence(AstRef) to get accurate…

More (0 comments)

Erlang Plugin for NetBeans in Scala#6: Semantic Analyzer

Caoyuan Blog - February 13, 2009

With more detailed AstNodeVisitor.scala, I got the semantic information of function calls, variable definitions and references etc. It’s time to implement CSL’s SemanticAnalyzer, which is the entrance of semantic highlighting. I then encountered a Scala’s corner case issue :-( SemanticAnalyzer.java is a sub-class of ParserResultTask:…

More (0 comments)

Erlang Plugin for NetBeans in Scala#6: Semantic Analyzer

Caoyuan Blog - February 13, 2009

With more detailed AstNodeVisitor.scala, I got the semantic information of function calls, variable definitions and references etc. It’s time to implement CSL’s SemanticAnalyzer, which is the entrance of semantic highlighting. I then encountered a Scala’s corner case issue :-( SemanticAnalyzer.java is a sub-class of ParserResultTask:…

More (0 comments)

Erlang Plugin for NetBeans in Scala#6: Semantic Analyzer

Caoyuan Blog - February 12, 2009

With more detailed AstNodeVisitor.scala, I got the semantic information of function calls, variable definitions and references etc. It’s time to implement CSL’s SemanticAnalyzer, which is the entrance of semantic highlighting. I then encountered a Scala’s corner case issue :-( SemanticAnalyzer.java is a sub-class of ParserResultTask:…

More (0 comments)

Erlang Plugin for NetBeans in Scala#5: Structure Analyzer

Caoyuan Blog - February 12, 2009

During the weekend, I’ve done some preliminary error recover work for Erlang’s rats! definition. Now I’ll go on some features based on analysis on AST tree. As the simplest step, we’ll visit/analyze AST tree to get the structure information, use them for Navigator window and…

More (0 comments)

Erlang Plugin for NetBeans in Scala#5: Structure Analyzer

Caoyuan Blog - February 12, 2009

During the weekend, I’ve done some preliminary error recover work for Erlang’s rats! definition. Now I’ll go on some features based on analysis on AST tree. As the simplest step, we’ll visit/analyze AST tree to get the structure information, use them for Navigator window and…

More (0 comments)

« First  <  2 3 4 5 6 >  Last »