lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sun, Mar 16, 2014 at 6:12 PM, Coda Highland <chighland@gmail.com> wrote:
> C++14 has modules that solve a lot of this, including making module
> headers insulated from preprocessor shenanigans.

It appears that it won't make C++14 (which is a minor update/bugfix
release). The clang people are working on an experimental
implementation, but we may have to wait a few years for this all to be
reality.

> course, in which the final project is to build a C++ compiler capable
> of building its own sources.

A much more interesting target is doing an interactive interpreter.
It is deeply cool evaluating "cout << "hello" << endl" from a REPL.  I
would point to my UnderC project but it's a dead end architecture - I
did not have the necessary theoretical background to do it properly.
Mind you, if I had, I would never have dared to try.

BTW,  I shall get out the old ucc and see how it handles the Lua
includes.  Then people can practice their Lua stack calls
interactively.