diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-02 09:42:04 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-02 09:42:04 +0100 |
| commit | a00e0a5fb93c96460ddec264fc89a726004b94c2 (patch) | |
| tree | 5808921581ff0d68eebf134cc34ccb6d9c3f86e9 /CompilerFrontend/cl/dparse.d | |
| parent | cec81a16c9994b2a6188c17b7b849f165203006c (diff) | |
ccplus: now parsing using another strategy.
cc: fix: r15 used instead of r19 for jlr.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'CompilerFrontend/cl/dparse.d')
| -rw-r--r-- | CompilerFrontend/cl/dparse.d | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/CompilerFrontend/cl/dparse.d b/CompilerFrontend/cl/dparse.d new file mode 100644 index 0000000..b6537ec --- /dev/null +++ b/CompilerFrontend/cl/dparse.d @@ -0,0 +1,21 @@ + +/* + * ======================================================== + * + * MP-UX C Compiler + * Copyright WestCo, all rights reserved. + * + * ======================================================== + */ + +module cl.dparse; + +//Parse D syntax, from a line to AST. + +struct ast_type +{ + string p_keyword; + ast_type* p_prev; + ast_type* p_next; +} + |
