• English
  • Deutsch
  • Log In
    Password Login
    or
  • Research Outputs
  • Projects
  • Researchers
  • Institutes
  • Statistics
Repository logo
Fraunhofer-Gesellschaft
  1. Home
  2. Fraunhofer-Gesellschaft
  3. Konferenzschrift
  4. Euclides - a JavaScript to PostScript translator
 
  • Details
  • Full
Options
2010
Conference Paper
Titel

Euclides - a JavaScript to PostScript translator

Abstract
Offering an easy access to programming languages that are difficult to approach directly dramatically reduces the inhibition threshold. The Generative Modeling Language is such a language and can be described as being similar to Adobe's PostScript. A major drawback of all PostScript dialects is their unintuitive reverse Polish notation, which makes both - reading and writing - a cumbersome task. A language should offer a structured and intuitive syntax in order to increase efficiency and avoid frustration during the creation of code. To overcome this issue, we present a new approach to translate JavaScript code to GML automatically. While this translation is basically a simple infix-to-postfix notation rewrite for mathematical expressions, the correct translation of control flow structures is a non-trivial task, due to the fact that there is no concept of "goto" in the PostScript language and its dialects. The main contribution of this work is the complete translation of JavaScript into a PostScript dialect including all control flow statements. To the best of our knowledge, this is the first complete translator.
Author(s)
Strobl, Martin
TU Graz CGV
Schinko, Christoph
TU Graz CGV
Ullrich, Torsten
Fraunhofer Austria
Fellner, Dieter W.
Fraunhofer-Institut für Graphische Datenverarbeitung IGD
Hauptwerk
ComputationWorld 2010
Konferenz
International Conference on Computational Logics, Algebras, Programming, Tools, and Benchmarking (COMPUTATION TOOLS) 2010
Thumbnail Image
Language
English
google-scholar
Fraunhofer AUSTRIA
Fraunhofer-Institut für Graphische Datenverarbeitung IGD
Tags
  • Generative Modeling Language (GML)

  • PostScript

  • Forschungsgruppe Semantic Models, Immersive Systems (SMIS)

  • Cookie settings
  • Imprint
  • Privacy policy
  • Api
  • Send Feedback
© 2022