Foreign language interfaces by code migration
A function has been used as an entry point of the interface to a library written in a different, or foreign, language. This interface is important for a new language because it lacks libraries and thus needs to borrow libraries written in a foreign language when the programmer develops a practical application in that new language. However, a modern library often uses unique language mechanism of the implementation language. This makes the use of the library difficult through a traditional function-based interface from the new language. This paper presents our approach to this problem. We use a domain specific language (DSL) embedded in the new language and migrate the DSL code to access to the library written in the foreign language. This paper also presents our framework for migrating the DSL code to a foreign language environment. The framework supports DSL-specific syntax checking for the migrated DSL code.
Mon 21 OctDisplayed time zone: Beirut change
11:00 - 12:30 | |||
11:00 30mTalk | Foreign language interfaces by code migration GPCE 2019 Shigeru Chiba Graduate School of Information Science and Technology, The University of Tokyo | ||
11:30 20mTalk | A Language Feature to Unbundle Data at Will (Short Paper) GPCE 2019 Musa Al-hassy McMaster University, Wolfram Kahl McMaster University, Jacques Carette McMaster University | ||
11:50 20mTalk | Parallel Nondeterministic Programming as a Language Extension to C (Short Paper) GPCE 2019 DOI Pre-print | ||
12:10 20mTalk | Agile Construction of Data Science DSLs (Tool Demo) GPCE 2019 Artur Andrzejak Heidelberg University, Kevin Kiefer , Diego Costa Heidelberg University, Oliver Wenz Heidelberg University |