Skip to main content

2017 | OriginalPaper | Buchkapitel

Building Game Scripting DSL’s with the Metacasanova Metacompiler

verfasst von : Francesco Di Giacomo, Mohamed Abbadi, Agostino Cortesi, Pieter Spronck, Giuseppe Maggiore

Erschienen in: Intelligent Technologies for Interactive Entertainment

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Many video games rely on a Domain Specific Language (DSL) to implement particular features such as artificial intelligence or time and synchronization primitives. Building a compiler for a DSL is a time-consuming task, and adding new features to a DSL is hard due to the low flexibility of the implementation choice. In this paper, we introduce an alternative to hand-made implementations of compilers for DSLs for game development: the Metacasanova metacompiler. We show the advantages of this metacomplier in terms of simplicity of designing and coding requirements, and in terms of performance of the resulting code, whose efficiency is comparable with hand-made implementations in commercial general purpose languages.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Abbadi, M., Giacomo, F., Cortesi, A., Spronck, P., Costantini, G., Maggiore, G.: Casanova: a simple, high-performance language for game development. In: Göbel, S., Ma, M., Baalsrud Hauge, J., Oliveira, M.F., Wiemeyer, J., Wendel, V. (eds.) JCSG 2015. LNCS, vol. 9090, pp. 123–134. Springer, Heidelberg (2015). doi:10.1007/978-3-319-19126-3_11 CrossRef Abbadi, M., Giacomo, F., Cortesi, A., Spronck, P., Costantini, G., Maggiore, G.: Casanova: a simple, high-performance language for game development. In: Göbel, S., Ma, M., Baalsrud Hauge, J., Oliveira, M.F., Wiemeyer, J., Wendel, V. (eds.) JCSG 2015. LNCS, vol. 9090, pp. 123–134. Springer, Heidelberg (2015). doi:10.​1007/​978-3-319-19126-3_​11 CrossRef
4.
Zurück zum Zitat Book, E., Shorre, D.V., Sherman, S.J.: The cwic/36o system, a compiler for writing and implementing compilers. SIGPLAN Not. 5(6), 11–29 (1970)CrossRef Book, E., Shorre, D.V., Sherman, S.J.: The cwic/36o system, a compiler for writing and implementing compilers. SIGPLAN Not. 5(6), 11–29 (1970)CrossRef
5.
Zurück zum Zitat Czarnecki, K., Eisenecker, U.W.: Generative Programming: Methods, Tools, and Applications. ACM Press/Addison-Wesley Publishing Co., New York (2000) Czarnecki, K., Eisenecker, U.W.: Generative Programming: Methods, Tools, and Applications. ACM Press/Addison-Wesley Publishing Co., New York (2000)
8.
Zurück zum Zitat Kelly, J.P., Botea, A., Koenig, S.: Offline planning with hierarchical task networks in video games. In: AIIDE (2008) Kelly, J.P., Botea, A., Koenig, S.: Offline planning with hierarchical task networks in video games. In: AIIDE (2008)
9.
Zurück zum Zitat Maggiore, G., Bugliesi, M., Orsini, R.: Monadic scripting in f# for computer games. In: TTSS 115th International Workshop on Harnessing Theories for Tool Support in Software, p. 35 (2011) Maggiore, G., Bugliesi, M., Orsini, R.: Monadic scripting in f# for computer games. In: TTSS 115th International Workshop on Harnessing Theories for Tool Support in Software, p. 35 (2011)
10.
Zurück zum Zitat Maggiore, G., Spanò, A., Orsini, R., Bugliesi, M., Abbadi, M., Steffinlongo, E.: A formal specification for casanova, a language for computer games. In: Proceedings of the 4th ACM SIGCHI Symposium on Engineering Interactive Computing Systems, EICS 2012, pp. 287–292. ACM, New York (2012) Maggiore, G., Spanò, A., Orsini, R., Bugliesi, M., Abbadi, M., Steffinlongo, E.: A formal specification for casanova, a language for computer games. In: Proceedings of the 4th ACM SIGCHI Symposium on Engineering Interactive Computing Systems, EICS 2012, pp. 287–292. ACM, New York (2012)
13.
Zurück zum Zitat Sheard, T., Benaissa, Z., Pasalic, E.: Dsl implementation using staging and monads. In: Second Conference on Domain-Specific Languages DSL 1999, pp. 81–94. ACM (1999) Sheard, T., Benaissa, Z., Pasalic, E.: Dsl implementation using staging and monads. In: Second Conference on Domain-Specific Languages DSL 1999, pp. 81–94. ACM (1999)
14.
Zurück zum Zitat Sweeney, T., Hendriks, M.: Unrealscript Language Reference. Epic MegaGames Inc., Cary (1998) Sweeney, T., Hendriks, M.: Unrealscript Language Reference. Epic MegaGames Inc., Cary (1998)
15.
Zurück zum Zitat Tulip, J., Bekkema, J., Nesbitt, K.: Multi-threaded game engine design. In: Proceedings of the 3rd Australasian conference on Interactive Entertainment, pp. 9–14. Murdoch University (2006) Tulip, J., Bekkema, J., Nesbitt, K.: Multi-threaded game engine design. In: Proceedings of the 3rd Australasian conference on Interactive Entertainment, pp. 9–14. Murdoch University (2006)
16.
Zurück zum Zitat van Deursen, A., Klint, P., Visser, J.: Domain-specific languages: an annotated bibliography. SIGPLAN Not. 35(6), 26–36 (2000)CrossRef van Deursen, A., Klint, P., Visser, J.: Domain-specific languages: an annotated bibliography. SIGPLAN Not. 35(6), 26–36 (2000)CrossRef
Metadaten
Titel
Building Game Scripting DSL’s with the Metacasanova Metacompiler
verfasst von
Francesco Di Giacomo
Mohamed Abbadi
Agostino Cortesi
Pieter Spronck
Giuseppe Maggiore
Copyright-Jahr
2017
DOI
https://doi.org/10.1007/978-3-319-49616-0_22