Saved in:
| Main Authors: | , , |
|---|---|
| Format: | Preprint |
| Published: |
2025
|
| Subjects: | |
| Online Access: | https://arxiv.org/abs/2510.08200 |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
| _version_ | 1866914083800875008 |
|---|---|
| author | Hellwig, Alexander Jansen, Nico Rumpe, Bernhard |
| author_facet | Hellwig, Alexander Jansen, Nico Rumpe, Bernhard |
| contents | In Software Language Engineering, there is a trend towards reusability by composing modular language components. However, this reusability is severely inhibited by a gap in integrating whitespace-sensitive and whitespace-insensitive languages. There is currently no consistent procedure for seamlessly reusing such language components in both cases, such that libraries often cannot be reused, and whitespacesensitive languages are developed from scratch. This paper presents a technique for using modular, whitespaceinsensitive language modules to construct whitespace sensitive languages by pre-processing language artifacts before parsing. The approach is evaluated by reconstructing a simplified version of the programming language Python. Our solution aims to increase the reusability of existing language components to reduce development time and increase the overall quality of software languages. |
| format | Preprint |
| id |
arxiv_https___arxiv_org_abs_2510_08200 |
| institution | arXiv |
| publishDate | 2025 |
| record_format | arxiv |
| spellingShingle | Building Whitespace-Sensitive Languages Using Whitespace-Insensitive Components Hellwig, Alexander Jansen, Nico Rumpe, Bernhard Software Engineering 68N15 D.2.13 In Software Language Engineering, there is a trend towards reusability by composing modular language components. However, this reusability is severely inhibited by a gap in integrating whitespace-sensitive and whitespace-insensitive languages. There is currently no consistent procedure for seamlessly reusing such language components in both cases, such that libraries often cannot be reused, and whitespacesensitive languages are developed from scratch. This paper presents a technique for using modular, whitespaceinsensitive language modules to construct whitespace sensitive languages by pre-processing language artifacts before parsing. The approach is evaluated by reconstructing a simplified version of the programming language Python. Our solution aims to increase the reusability of existing language components to reduce development time and increase the overall quality of software languages. |
| title | Building Whitespace-Sensitive Languages Using Whitespace-Insensitive Components |
| topic | Software Engineering 68N15 D.2.13 |
| url | https://arxiv.org/abs/2510.08200 |