Skip to main content
  • Create account
  • Log in
EclipseCon - Eclipse Foundation
Register Now
  • Conference
    • Program Schedule
    • Program List
    • Keynotes
    • Registration
  • Community Activities
    • Community Day Overview
    • Automotive & SDV Community Day
    • Community Day for Java Developers
    • OSGi Summit
    • eSAAM 2023 on Cloud-to-Edge Continuum
    • Call for BoFs
    • Dinner Meetups
    • EMO Office Hours
  • Sponsors
    • Be a Sponsor
    • Information for Exhibitors
    • Our Sponsors
    • Sponsor Testimonials
  • Resources
    • Code of Conduct
    • Meet the Speakers
    • Information for Speakers
    • Information for Tutorial Presenters
    • Press
    • Share Your Participation
    • Convince Your Manager
    • Onsite Information for Attendees
  • About Us
    • EclipseCon 2023
    • Program Committee
    • The Eclipse Foundation
    • Past Conferences
  • Venue
    • Conference Venues
    • Hotels
    • Ludwigsburg
  1. Home
  2. EclipseCon
  3. EclipseCon 2023
  4. Sessions
  5. A DSL case study with Java imports implemented in TypeScript

A DSL case study with Java imports implemented in TypeScript

Session details
Status: 
Accepted
Speaker(s): 
Insa Fuhrmann (TypeFox GmbH)
Dennis Huebner (TypeFox GmbH)
Experience level: 
Intermediate
Tags: 
langium
DSL
Java
typescript
CaseStudy
Session Track: 
Tools & IDEs
Session Type: 
Standard

Eclipse Langium is an open source language engineering tool written in TypeScript and running in Node.js. Thus, it is the perfect choice for developing Domain-Specific Languages (DSLs) within Eclipse Theia or web applications without any breaks in the toolstack. But what if you wanted to develop your DSL in TypeScript, while still allowing it to import, extend, and utilize the power of Java libraries and your own custom Java classes?

In this talk we show you how this can be done and we also introduce you to an open source real world example.

Firstly, we cover the implementation of the technical connection between Java and TypeScript. Here, we also explain how to support a custom classpath configuration in case you need to specify file areas to scan for your Java classes.

Then you will learn about solutions for the challenges concerning the integration of Java and DSLs. They can arise for example from differing type systems, method overloading, the handling of qualified names and similar DSL syntax, case sensitivity meeting case insensitivity, linking for implicit Java imports, harmonizing scope handling, inheritance rules, and instantiation. We show you an open source project from an industrial context that has posed all these challenges and was supported with the Langium framework.

 

Objective of the presentation: 
The attendees will learn about an industrial open source DSL project that is implemented with Eclipse Langium and supports the import and usage of Java in the DSL. We present solutions for the interaction of the three languages Java, TypeScript, and the Basic-like DSL.
Attendee pre-requisites - If none, enter "N/A": 
N/A
Schedule info
Time: 
17 Oct 2023 - 16:05 to 17 Oct 2023 - 16:40
Room: 
Wilhelm-Krämer-Zimmer
  • Sign in to post comments.

Elite

  • Huawei
  • ZettaScale Technologies

Premium

  • Yatta Solutions GmbH
  • Gradle
  • Eurotech

Basic

  • ETAS GmbH
  • CEA List
  • Mercedes-Benz Tech Innovation GmbH
  • MicroStream Software GmbH
  • EclipseSource
  • Equo Tech, Inc.
  • TypeFox GmbH
  • SOTEC GmbH & Co KG
  • SCANOSS
  • Obeo

Supporter

  • Open Elements

Media

  • GermanTechJobs
  •  IT-Schulungen.com

Become a Sponsor

Eclipse Foundation

  • About Us
  • Contact Us
  • Sponsor
  • Members
  • Governance
  • Code of Conduct
  • Logo and Artwork
  • Board of Directors
  • Careers

Legal

  • Privacy Policy
  • Terms of Use
  • Copyright Agent
  • Eclipse Public License
  • Legal Resources

Useful Links

  • Report a Bug
  • Documentation
  • How to Contribute
  • Mailing Lists
  • Forums
  • Marketplace
EclipseCon is brought to you by The Eclipse Foundation with the support of our sponsors.
Powered by Drupal and built on COD.

Copyright © Eclipse Foundation. All Rights Reserved.

Back to the top