Skip to content

Commit

Permalink
Replace [addLog] and [hasLogs] (#64)
Browse files Browse the repository at this point in the history
myCrack authored Feb 19, 2023
1 parent 10f4ccd commit 235d13a
Showing 8 changed files with 36 additions and 7 deletions.
13 changes: 7 additions & 6 deletions Var.mpl
Original file line number Diff line number Diff line change
@@ -5,14 +5,15 @@
# It is forbidden to use the content or any part of it for any purpose without explicit permission from the owner.
# By contributing to the repository, contributors acknowledge that ownership of their work transfers to the owner.

"Array" use
"Owner" use
"String" use
"Variant" use
"Array" use
"Owner" use
"String" use
"Variant" use
"algorithm" use
"control" use
"control" use

"Mref" use
"Mref" use
"logger" use
"staticCall" use

Dirty: [0n8 dynamic];
1 change: 1 addition & 0 deletions codeNode.mpl
Original file line number Diff line number Diff line change
@@ -22,6 +22,7 @@
"declarations" use
"defaultImpl" use
"irWriter" use
"logger" use
"pathUtils" use
"processor" use
"staticCall" use
21 changes: 21 additions & 0 deletions logger.mpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright (C) 2023 Matway Burkow
#
# This repository and all its contents belong to Matway Burkow (referred here and below as "the owner").
# The content is for demonstration purposes only.
# It is forbidden to use the content or any part of it for any purpose without explicit permission from the owner.
# By contributing to the repository, contributors acknowledge that ownership of their work transfers to the owner.

"String" use
"control" use

hasLogs: [FALSE];
hasLogs: [HAS_LOGS TRUE] [HAS_LOGS TRUE =] pfunc;
hasLogs: [HAS_LOGS () same] [TRUE] pfunc;

addLog: [
entry:;
hasLogs [
entry printList
LF print
] when
];
1 change: 1 addition & 0 deletions main.mpl
Original file line number Diff line number Diff line change
@@ -18,6 +18,7 @@
"NameManager" use
"astNodeType" use
"declarations" use
"logger" use
"pathUtils" use
"processor" use
"processorImpl" use
1 change: 1 addition & 0 deletions processSubNodes.mpl
Original file line number Diff line number Diff line change
@@ -20,6 +20,7 @@
"declarations" use
"defaultImpl" use
"irWriter" use
"logger" use
"processor" use
"staticCall" use
"variable" use
1 change: 1 addition & 0 deletions processorImpl.mpl
Original file line number Diff line number Diff line change
@@ -25,6 +25,7 @@
"declarations" use
"defaultImpl" use
"irWriter" use
"logger" use
"parser" use
"pathUtils" use
"processSubNodes" use
4 changes: 3 additions & 1 deletion staticCall.mpl
Original file line number Diff line number Diff line change
@@ -5,9 +5,11 @@
# It is forbidden to use the content or any part of it for any purpose without explicit permission from the owner.
# By contributing to the repository, contributors acknowledge that ownership of their work transfers to the owner.

"String" use
"String" use
"control" use

"logger" use

staticCall: [
staticCallBody:;
staticCallLast: new; # required to be static
1 change: 1 addition & 0 deletions variable.mpl
Original file line number Diff line number Diff line change
@@ -20,6 +20,7 @@
"declarations" use
"defaultImpl" use
"irWriter" use
"logger" use
"processor" use
"schemas" use

0 comments on commit 235d13a

Please sign in to comment.