Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Arithmetic defined in xtext
Arithmetic defined in xtext [message #1860248] Mon, 24 July 2023 21:22 Go to next message
Thomas Chiang is currently offline Thomas ChiangFriend
Messages: 103
Registered: March 2020
Senior Member

This is mostly because I don't want to have to do it myself but is there an already defined library or something that can be imported to an xtext grammar that already has basic math defined? I mean just addition, subtraction, multiplication, and division.
Re: Arithmetic defined in xtext [message #1860250 is a reply to message #1860248] Tue, 25 July 2023 03:52 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14677
Registered: July 2009
Senior Member
you can simply copy&paste the snippet from the docs.

Twitter : @chrdietrich
Blog :
Previous Topic:Accessing Enum from imported ECore model
Next Topic:Description for the Content Assist of File Cross-References
Goto Forum:

Current Time: Sat May 18 01:51:43 GMT 2024

Powered by FUDForum. Page generated in 0.03280 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top