3 ms·
Ruby eDSLs are not that interesting - they still force you to stick to the Ruby syntax, which can be counterproductive. The best way of implementing eDSLs is t
by sklogic 12y ago
Ruby eDSLs are not that interesting - they still force you to stick to the Ruby syntax, which can be counterproductive.
The best way of implementing eDSLs is to extend the syntax of your core language, which is very easy for the languages based on PEG. See https://github.com/combinatorylogic/mbase https://github.com/combinatorylogic/mbase and https://github.com/combinatorylogic/clike https://github.com/combinatorylogic/clike for example of this approach.