SharkD <mik### [at] gmailcom> wrote:
> > - The scripting language should also be designed so that it's easy to
> > flexibly read, parse and write data files (as well as handle the data
> > itself). This would allow writing things like 3DS or OBJ file format
> > importers as libraries. (This is an example of something which should
> > definitely be a library rather than a core feature.)
>
> I agree with this as well. I wrote a parser for Lua once, so I know how
> difficult it can be. Are there any examples of existing languages we can
> compare to that were designed with this aspect in mind?
I think there's no need to have dedicated support for parsing other file formats
in the SDL language syntax itself: A set of library functions should do, I
guess. Which would also mean that there wouldn't be need to implement it right
from the start.
Post a reply to this message
|