KMITL
Permanent URI for this communityhttps://dspace.kmitl.ac.th/handle/123456789/1
Browse
2 results
Search Results
- Some of the metrics are blocked by yourconsent settings
Item type:Publication, JGroovy: An alternative approach to implement extensible Java compiler(2013-01-01) ;Sateanpattanakul, Siwadol ;Hamamoto, KazuhikoWalairacht, AranyaThe main reason for the invention of computer programming languages is for these languages to express a command-to-control machine behavior. Some of these programming languages have specific advantages that are used in specific environments such as structured query language (SQL), hypertext markup language (HTML), and spreadsheet. The common definitions of these languages are domain-specific languages (DSLs). Although DSLs are the best way to deal with specific systems, it is hard to use with other environments or platforms. Groovy is a dynamic programming language that runs on the Java virtual machine. Groovy has some features that allow programmers to manage DSLs within its unique style. Groovy has some disadvantages because it does not support all Java features and syntax while also producing unnecessary byte code during compilation. This paper proposes an extended-architecture technique to implement a computer programming language and compiler through extending Java with Groovy language. The extensible language is called 'JGroovy'. And JGroovy is supported both by Java and Groovy language. We implement the compiler for JGroovy and call it the 'JGroovy compiler' (JGC). By its extended architecture, JGC is more compatible for Java source code than Javac can claim to be. And it also produces a better and more compact byte code than the Groovy compiler, with an approximate improvement of 8-12%. © 2013 Institute of Electrical Engineers of Japan. Published by John Wiley & Sons, Inc. - Some of the metrics are blocked by yourconsent settings
Item type:Publication, JGroovy - An extensible java programming language with groovy(2010-05-24) ;Sateanpattanakul, SiwadolWalairacht, AranyaJava is Object-Oriented Programming Languages (OOPL) that widely used for software development. But Java has a limitation for working with Domain-Specific Languages (DSLs). Java language structure and syntax has not more support for working with DSLs and including type of Java language. Static language likes Java does not flexible more for DSLs handle. This limitation has to solve by adding new language structure and syntax into Java language. Groovy is a dynamic programming languages that support DSLs with internal structure. In this paper, we introduce "JGroovy" which is extended Java programming language with Groovy programming. We are built JGroovy compilers that fully support Java programming language.
