Code Types for CC in Java

One of the ways that software engineers can automate the creation of parsers, which read different types of files and other code, is to use JavaCC, or Java Compiler Compiler. A parser generator is a programming utility that scans a grammar specification, and then automatically converts it to a Java-based application that is capable of reading the grammar specification. JavaCC is included with the Java programming library and is a built-in feature of the programming language.

  1. XML Code

    • XML (extensible markup language) is a programming language used to define customized markup languages that can be read by parsers. XML files are frequently delivered in feeds and automatically push updates to the applications which are consuming the files. XML's code is flexible enough to be used to define anything from database files to text-based news updates.

    HTML Code

    • Hypertext Markup Language, or HTML, is another kind of markup language that is specifically used to build Web pages. Bits of HTML code can be parsed by JavaCC-generated parsers to determine the structure of HTML-based Web pages. HTML Web page elements are built using tags that are used to define the formatting of Web page headings, placement of images and formatting of text -- along with other basic Web page elements.

    PHP Code

    • More robust Web pages on the Internet may be application-based and use a scripting language such as PHP, which can be embedded into HTML documents. Unlike alternative languages such as JavaScript, PHP is executed on the Web server and not the Web user's computer. PHP code is used to build Web pages and complex Web applications. Unlike HTML, it does not use tags. Instead, it uses scripts and parameters.

    Java Code

    • Java code is another type of code that JavaCC parsers can read. The Java technology platform enables Web-based software programs to run on a variety of computers. Like PHP, Java is executed by the Web server and not by the Web user's browser. Java is commonly used as an alternative to PHP, Microsoft's ASP.NET or Perl, all of which are scripting languages used in Internet applications.

Related Searches:

References

Comments

Related Ads

Featured