Talk:Compiler/Simple file inclusion pre processor: Difference between revisions
Content added Content deleted
Line 7: | Line 7: | ||
:Thanks for considering and attempting the task, BTW. --[[User:Tigerofdarkness|Tigerofdarkness]] ([[User talk:Tigerofdarkness|talk]]) 18:36, 6 June 2021 (UTC) |
:Thanks for considering and attempting the task, BTW. --[[User:Tigerofdarkness|Tigerofdarkness]] ([[User talk:Tigerofdarkness|talk]]) 18:36, 6 June 2021 (UTC) |
||
::As per the abortive Phix entry each submission c/should explain some of the issues that might arise were it applied to the specific language itself instead of the toy C. |
|||
::(And at least in the Phix case extol the virtues of any existing builtin mechanisms that provide similar functionality.) |
|||
::It would without question still require some form of lexical analysis anyway, eg |
|||
<pre> |
|||
/* |
|||
#include tests |
|||
*/ |
|||
#include hello_world.t |
|||
#include phoenix_number.t |
|||
print("#include tests completed\n") |
|||
</pre> |
|||
::with expected output of |
|||
<pre> |
|||
Hello, World! |
|||
142857 |
|||
#include tests completed |
|||
</pre> |
|||
::I would specifically state the task need not attempt to resolve any issues caused by using/declaring the same identifiers in multiple files. |
|||
::I (still) think the task should require toy C to be targetted, with any host-language-specific code parked on sub-pages. --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 20:17, 6 June 2021 (UTC) |