Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DSL] Types and Typechecking #99

Closed
malt-r opened this issue Dec 15, 2022 · 1 comment
Closed

[DSL] Types and Typechecking #99

malt-r opened this issue Dec 15, 2022 · 1 comment
Assignees
Labels
dsl thesis possible topic for a bachelor thesis

Comments

@malt-r
Copy link
Contributor

malt-r commented Dec 15, 2022

Status Quo:
Die DSL hat ein statisches Typsystem. Die Motivation hierfür war, bereits vor der Ausführung der DSL-Programme möglichst aussagekräftige Fehlermeldungen generieren zu können.
Das ist aus Endnutzendensicht wichtig, um möglichst früh auf Fehlerfälle hingewiesen zu werden. Aus Entwickelndensicht ist es allerdings auch wichtig, da sich aktuell die Fehler, die auf Typ-Mismatches zurückzuführen sind, erst in der Laufzeit manifestieren, was zu unnötig langen Fehlersuchen führt. Es wird aktuell in der semantischen Analyse kein Typechecking und keine Typinferenz umgesetzt.

Es muss festgelegt werden, welche Regeln für die Typinferenzberechnung gelten sollen und wann Symbole unterschiedlicher Datentypen einander zugewiesen werden können (z. B. int-Wert einer float-Variable zuweisen). Für das Typechecking muss zusammen mit dem Themenkomplex Errorhandling festgelegt werden, wie Typfehler behandelt und kommuniziert werden sollen.

@malt-r malt-r self-assigned this Dec 15, 2022
@malt-r malt-r added this to the Große Basis milestone Dec 15, 2022
@AMatutat AMatutat modified the milestones: Basissystem: Game, Basissystem: DSL Jan 18, 2023
@AMatutat AMatutat added DSL and removed DSL labels Mar 1, 2023
@AMatutat AMatutat removed this from the Basissystem: DSL milestone Mar 2, 2023
@AMatutat AMatutat removed the WiMi-DSL label May 4, 2023
@malt-r malt-r added thesis possible topic for a bachelor thesis and removed struct:dsl labels Nov 16, 2023
@cagix cagix unassigned malt-r Dec 1, 2023
@cagix cagix added the dsl label Dec 1, 2023
@cagix
Copy link
Member

cagix commented Jan 3, 2024

wird irgendwie in der geplanten thesis von @malt-r auch mit berührt. falls nicht -> schließen als "not planned".

@Dungeon-CampusMinden Dungeon-CampusMinden locked and limited conversation to collaborators Jan 29, 2024
@cagix cagix converted this issue into discussion #1375 Jan 29, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
dsl thesis possible topic for a bachelor thesis
Projects
No open projects
Status: Todo
Development

No branches or pull requests

3 participants