I am trying to create a kind of main container for my DSL, something like:
val mod_a = module ("file1.scala") {
//the elements defined using the dsl....
}
val mod_b = module("className") {
// the elements defined using the dsl...
}
val mod_c = ....
I saw this post and actually I was trying in the same way but it's not my case :(. I mean, maybe the parenthesis should be "{}
" instead of "()
".
Any suggestion how I can do it? Thanks!