HTML code generation

hello, 

I am trying to use MPS in order to build a HTML form generation tool. I am wondering if it's possible to generate HTML as a target language ? Is there any example for that ? 

 

Thank you. 

0
2 comments
Avatar
Permanently deleted user

Hi Rajika,

I once had a glimpse at this project, where an HTML page is part of the output: https://github.com/vaclav/CalculatorJS

If this will really help you going the whole nine yards, I don't know, but it might be a good place to start.

Another place to look at might be the mbeddr doclanguage: http://mbeddr.com/files/documentationdocumentation.pdf I don't have looked into its internals myself either, but they are targeting Latex and HTML, so there might be something there for you, too.

Best,

Robert

0
Avatar
Permanently deleted user

Hey!

If you only want HTML as a generation target, you could create the language yourself. It's not that hard. I assume that you don't need all features of the HTML markup. So just build the features that you need.

Regards

 

0

Please sign in to leave a comment.