Abstract
This paper presents the design and implementation of two data types, List and Dictionary, in the programming language XD-M. XD-M is an interpreted language with dynamic data types and its syntax is similar to Python. It is developed from the Modeling Simulation and Verification Language called MSVL. In the main part of the paper, we will discuss data structures, syntax and algorithms of List and Dictionary in XD-M, as well as their abstract syntax trees. Finally, an example is given to illustrate how to use List and Dictionary in XD-M programming.
This work was supported in part by the National Key Research and Development Program of China under Grant 2018AAA0103202, in part by the National Natural Science Foundation of China under Grants 62172322 and 61732013, and in part by the Key Science and Technology Innovation Team of Shaanxi Province under Grant 2019TD-001.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
Duan, Z.: Temporal Logic and Temporal Logic Programming. Science Press, Beijing (2005)
Duan, Z., Tian, C.: A practical decision procedure for propositional projection temporal logic with infinite models. Theor. Comput. Sci. 554, 169–190 (2014)
Duan, Z., Tian, C., Zhang, N.: A canonical form based decision procedure and model checking approach for propositional projection temporal logic. Theor. Comput. Sci. 609, 544–560 (2016)
Rosner, R., Pnueli, A.: A choppy logic. In: Proceedings of the Symposium on Logic in Computer Science, Cambridge, pp. 306–313 (1986)
Bowman, H., Thompson, S.: A decision procedure and complete axiomatization of finite interval temporal logic with projection. J. Logic Comput. 13, 195–239 (2003)
Wang, X., Duan, Z., Zhao, L.: Formalizing and implementing types in MSVL. In: Proceedings of the International Workshop of Structured Object-Oriented Formal Language and Method, Queenstown, pp. 62–75 (2013)
Duan, Z., Yang, X., Koutny, M.: Framed temporal logic programming. Sci. Comput. Program. 70, 31–61 (2008)
Zhang, N., Duan, Z., Tian, C.: A mechanism of function calls in MSVL. Theor. Comput. Sci. 654, 11–25 (2016)
Mark, H., Andy, R.: Python Programming on Win32. O’Reilly & Associates Inc., Sebastopol (2000)
Python Homepage. https://www.python.org/
Duan, Z., Tian, C., Zhang, N.: Normal form expressions of propositional projection temporal logic. In: Cai, Z., Zelikovsky, A., Bourgeois, A. (eds.) COCOON 2014. LNCS, vol. 8591, pp. 84–93. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-08783-2_8
Valmari, A.: A stubborn attack on state explosion. Form. Method Syst. Des. 1, 297–322 (1992). https://doi.org/10.1007/BF00709154
Burch, J., Clarke, E., McMillan, K., et al.: Symbolic model checking: \(10^{20}\) states and beyond. Inform. Comput. 98, 142–170 (1992)
Duan, Z., Tian, C.: A unified model checking approach with projection temporal logic. In: Liu, S., Maibaum, T., Araki, K. (eds.) ICFEM 2008. LNCS, vol. 5256, pp. 167–186. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-88194-0_12
Biere, A., Cimati, A., Clarke, E., et al.: Bounded model checking. Adv. Comput. 58, 117–148 (2003)
Zhang, N., Duan, Z., Tian, C.: Model checking concurrent systems with MSVL. Sci. China Inf. Sci. 59(11), 1–3 (2016). https://doi.org/10.1007/s11432-015-0882-6
Clarke, E., Grumberg, O., Long, D.: Model checking and abstraction. ACM Trans. Progr. Lang. Syst. 16, 1512–1542 (1992)
Tian, C., Duan, Z., Duan, Z.: Making CEGAR more efficient in software model checking. IEEE Trans. Softw. Eng. 40, 1206–1223 (2014)
Godefroid, P., Wolper, P.: A partial approach to model checking. Inform. Comput. 110, 305–326 (1994)
Flex Homepage. https://github.com/westes/flex
GNU Bison Homepage. http://www.gnu.org/software/bison/
Author information
Authors and Affiliations
Corresponding authors
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Wang, Y., Zhang, N., Duan, Z. (2021). Design and Implementation of List and Dictionary in XD-M Language. In: Wu, W., Du, H. (eds) Algorithmic Aspects in Information and Management. AAIM 2021. Lecture Notes in Computer Science(), vol 13153. Springer, Cham. https://doi.org/10.1007/978-3-030-93176-6_29
Download citation
DOI: https://doi.org/10.1007/978-3-030-93176-6_29
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-93175-9
Online ISBN: 978-3-030-93176-6
eBook Packages: Computer ScienceComputer Science (R0)