Syntax question...
Hasan Aljudy
hasan.aljudy at gmail.com
Mon Oct 30 17:02:59 PST 2006
If you just want to create D with different syntax, I think you can
write a stand-alone parser then use it convert your other-syntax code to
D syntax.
RA wrote:
> I was curious about how hard it would be to create a different “language
> front end” for D?
>
> Since you (Walter) have made the compiler front end (lexer, parser, etc)
> source code available,
>
> would it be possible for someone to modify it and create a different
> (for example, something
>
> more like VB) language syntax that would still work with the back end
> compiler?
>
>
>
> I realize most of you long time C\C++ programmers probably couldn’t see
> any need for
>
> such a thing, but others of us (at least me) would prefer something not
> quite as cryptic
>
> as C like syntax.
>
>
>
> I’ve never written a compiler\lexer\parser\etc. so I don’t know what all
> would be involved
>
> in creating a different syntax. In theory, it doesn’t seem like it
> should be “all” that hard…
>
> But then, naiveté is great isn’t it. J
>
More information about the Digitalmars-d
mailing list