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 Oct Times are displayed in time zone: Beirut change
11:00 - 12:30: Language extensionGPCE 2019 at Ground floor conference room Chair(s): Adam WelcUber Technologies | |||
11:00 - 11:30 Talk | Foreign language interfaces by code migration GPCE 2019 Shigeru ChibaGraduate School of Information Science and Technology, The University of Tokyo | ||
11:30 - 11:50 Talk | A Language Feature to Unbundle Data at Will (Short Paper) GPCE 2019 Musa Al-hassyMcMaster University, Wolfram KahlMcMaster University, Jacques CaretteMcMaster University | ||
11:50 - 12:10 Talk | Parallel Nondeterministic Programming as a Language Extension to C (Short Paper) GPCE 2019 DOI Pre-print | ||
12:10 - 12:30 Talk | Agile Construction of Data Science DSLs (Tool Demo) GPCE 2019 Artur AndrzejakHeidelberg University, Kevin Kiefer, Diego CostaHeidelberg University, Oliver WenzHeidelberg University |