|Using Names from a text file inside the DSL [message #1733233]
||Wed, 25 May 2016 15:29
| Vinicius Pereira
Registered: March 2014
I have a text file with some pairs, for example:
I want to write a DSL more or less like this:
"given the element ABC I want to go to element 123"
So, I want that the DSL give the left option from my text file (ABC, DEF, GHI), then if I use the ABC then the DSL should show the correct right option 123 is the element to be chosen.
Is there a way to do this?? The text file will not change when the DSL is executed.
Powered by FUDForum
. Page generated in 0.01809 seconds