Skip to main content
Top

2017 | OriginalPaper | Chapter

Building Game Scripting DSL’s with the Metacasanova Metacompiler

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

Published in: Intelligent Technologies for Interactive Entertainment

Publisher: Springer International Publishing

Activate our intelligent search to find suitable subject content or patents.

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.

Dont have a licence yet? Then find out more about our products and how to get one now:

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!

Literature
1.
go back to reference 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.
go back to reference 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.
go back to reference 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.
go back to reference 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.
go back to reference 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.
go back to reference 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.
go back to reference 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.
go back to reference 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.
go back to reference 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.
go back to reference 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
Metadata
Title
Building Game Scripting DSL’s with the Metacasanova Metacompiler
Authors
Francesco Di Giacomo
Mohamed Abbadi
Agostino Cortesi
Pieter Spronck
Giuseppe Maggiore
Copyright Year
2017
DOI
https://doi.org/10.1007/978-3-319-49616-0_22

Premium Partner