|
 |
"ingo" <nomail@nomail> wrote:
> "Bald Eagle" <cre### [at] netscape net> wrote:
> > "ingo" <nomail@nomail> wrote:
> >
> > I'm just thinkin' out loud.
>
> I hear you, loud and clear.
>
> Ok, this gets wild. The Nim programming language
> https://nim-lang.org/docs/manual.html has 'real' macros. They can be used to
> create a complete language. That language can be POV-Ray like. Using that you
> can output POV-Ray SDL, loops unrolled and all.
>
> The language is compiled, but it also has a interpreted script part, that is the
> same language. The compiled part and the script part can be "linked". That way a
> complete front end for POV-Ray could be build and you'd have a type system,
> objects =structs, minimal OOP (only composition) and it looks a bit like python
> but way faster. Sadly I'm way to incompetent to get something like that
> together.
>
> This is the mesh macros in nim:
> https://gist.github.com/ingoogni/ca030e955daf7f8138cedfe488ca0013
>
> Why I think of things like this? Because the effort of writing all those arrays
> and remembering what they do and how they interact often gets too much (age).
>
> ingo
Sorry to cross over if it's off topic, but about Nim, I asked a question on
this, or maybe something else depending on what you meant... in the other thread
I had started about curly braces / indentation scoped languages. thanks for
sharing your discoveries.
Post a reply to this message
|
 |