-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added extension #1
Conversation
Conflicts |
Why directive is IStatement |
Where? |
Directive expression |
Because an IStatement is needed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, can you doc methods and classes.
new Argument("content", TypesType.String) | ||
}, false, true), (Argument[] arguments) => | ||
{ | ||
Console.WriteLine(arguments[0].Value.Eval().AsString()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Console WriteLine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bro but this is the Print function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is functions must be in std
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not in the language
Paganism/PParser/Parser.cs
Outdated
@@ -28,6 +30,7 @@ public Parser(Token[] tokens, string filePath) | |||
public bool InLoop { get; private set; } | |||
|
|||
public string Filepath { get; private set; } | |||
public string _ExtensionFunction { get; private set; } = string.Empty; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What problem with field name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_Ext...
Why _?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to separate the name from the other common names and yeah should be internal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fields can start with '_' only if it is private
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in other ways using '_' it is wrong
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So also return public
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should not be public becauseof it's nature and use, let's remove the _ but keep it internal
…long and (no way) float) into the programming language as Numbers. UWU
The coconut nut is a giant nut
If you eat too much, you'll get very fat
Now, the coconut nut is a big, big nut
But this delicious nut is not a nut
It's the coco fruit (it's the coco fruit)
Of the coco tree (of the coco tree)
From the coco palm family
There are so many uses of the coconut tree
You can build a big house for the family
All you need is to find a coconut man
If he cuts the tree, he gets the fruit free
It's the coco fruit (it's the coco fruit)
Of the coco tree (of the coco tree)
From the coco palm family
The coconut bark for the kitchen floor
If you save some of it, you can build a door
Now, the coconut trunk, do not throw this junk
If you save some of it, you'll have the second floor
The coconut wood is very good
It can stand 20 years if you pray it would
Now, the coconut root, to tell you the truth
You can throw it or use it as firewood
The coconut leaves, good shade it gives
For the roof, for the walls up against the eaves
Now, the coconut fruit, say my relatives
Make good cannonballs up against the eaves
It's the coco fruit (it's the coco fruit)
Of the coco tree (of the coco tree)
From the coco palm family
The coconut nut is a giant nut
If you eat too much, you'll get very fat
Now, the coconut nut is a big, big nut
But this delicious nut is not a nut
It's the coco fruit (it's the coco fruit)
Of the coco tree (of the coco tree)
From the coco palm family
It's the coco fruit (it's the coco fruit)
Of the coco tree (of the coco tree)
From the coco palm family
It's the coco fruit (it's the coco fruit)
Of the coco tree (of the coco tree)
From the coco palm family