Is it posible to evaluate language in runtime?

Hello,

subj.

For example, i need to build some languages that can be evaluate in runtime

by parsing text, generated by program. Imagine, that i have implemented OQL

syntax in MPS. Like:

select o from org.acme.MyTable o where o.name like '%blabla%' order by o.fullName;

I will generate string prepresentation of OQL like bellow, then call to MPS,

get from MPS already prepared binded object (OQLExecutor) and perform exection

(OQLExecutor.execute).

--

Alexey Efimov, Java Developer

Tops BI

0
3 comments

Hi,

at the moment mps doesn't support runtime.

in other words, there are no means to define operational semantics to a language.

so far only generative semantic is supported.

0

Hello Igor,

IA> at the moment mps doesn't support runtime.

IA> in other words, there are no means to define operational semantics

IA> to a language.

IA> so far only generative semantic is supported.

Is it planed to have operational semantics?

--

Alexey Efimov, Java Developer

Tops BI

0

Alexey Efimov wrote:

Is it planed to have operational semantics?

Definitely, but I don't think it is high priority at this stage, since

currently MPS just uses Java semantics (and we of course use IDEA/JVM

for that). But operational semantics will be very important in the future.

--

Rob Harwood

Software Developer

JetBrains Inc.

http://www.jetbrains.com

"Develop with pleasure!"

0

Please sign in to leave a comment.