-
Notifications
You must be signed in to change notification settings - Fork 7
User defined classes #478
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
Open
Kuinox
wants to merge
113
commits into
main
Choose a base branch
from
userdefined-classes-3
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
User defined classes #478
Changes from all commits
Commits
Show all changes
113 commits
Select commit
Hold shift + click to select a range
0c3f5ca
Syntax
Kuinox c2ebad1
wip
Kuinox 451df51
wip
Kuinox 6c1f7d5
wip
Kuinox 56e59d2
Merge remote-tracking branch 'origin/main' into userdefined-classes-3
Kuinox 43adfa0
wip
Kuinox a0cab5b
wip
Kuinox 616ad18
yes there is no message commit because it will get squashed
Kuinox 8b6c184
progress.
Kuinox c1b941e
binding & symbols works.
Kuinox 242d9b8
wip
Kuinox 991e13d
wip
Kuinox 73e6a15
fix
Kuinox 231feb2
wip
Kuinox a839616
updated SyntaxFactory.
Kuinox 0521fa4
ps swap.
Kuinox 3c63845
use field keyword.
Kuinox ca84c41
wip
Kuinox 23c9817
Merge remote-tracking branch 'origin/userdefined-classes-3' into user…
Kuinox 0476eac
wip
Kuinox 940f5f8
starting to implementing this.
Kuinox 929d875
fix
Kuinox 4d404ab
wip
Kuinox c7673ef
wip
Kuinox da57abc
wip
Kuinox 2d3aaa9
Fixed MetadataCodegen
Kuinox 712558b
Fix some codegen
Kuinox 568c527
some progress.
Kuinox d798797
wip
Kuinox 5f22300
wip
Kuinox abd2580
wip
Kuinox c25ca7f
Make constructor generate (but incorrectly)
Kuinox 71f8162
constructor have a special name.
Kuinox 67b98dc
it work.
Kuinox f4f5e0f
ok there is a few bugs remaining
Kuinox a6d119d
tests cleanup.
Kuinox 2c93d54
remove debug dll dump
Kuinox 1a0a5b7
Merge branch 'main' into userdefined-classes-3
Kuinox a2a35db
wip fixing tests.
Kuinox 2ff6b99
fixed special name logic
Kuinox f7539df
self review
Kuinox 8035ae4
Some pr feedback.
Kuinox fb297e0
Removed unused field ir model.
Kuinox 56fd7f4
Type => Class, + ran namespace simplification.
Kuinox 0922f74
using cleanup.
Kuinox 5fe55ad
some pr feedback.
Kuinox cb8465a
more pr feedback
Kuinox c24b819
wip
Kuinox ce72219
Added error on this resolution.
Kuinox 4de8931
Update src/Draco.Compiler/Internal/OptimizingIr/Model/Class.cs
Kuinox a18510d
Update src/Draco.Compiler/Internal/Syntax/Syntax.xml
Kuinox 5db5309
Update src/Draco.Compiler/Internal/OptimizingIr/Model/Procedure.cs
Kuinox 2bdf4ac
Added tests for illegal this.
Kuinox 14a8df1
Merge branch 'main' into userdefined-classes-3
LPeter1997 4b83f01
Update Syntax.xml
LPeter1997 e20a311
Builds
LPeter1997 d696448
Update Parser.cs
LPeter1997 e3dd5d0
Update Parser.cs
LPeter1997 81a95ab
Update Parser.cs
LPeter1997 261b076
Update Lexer.cs
LPeter1997 541f941
Yeeted unit
LPeter1997 d6f7b4e
Update ConstructorFunctionSymbol.cs
LPeter1997 dafd12c
Update SyntaxErrors.cs
LPeter1997 883abbe
Update Lexer.cs
LPeter1997 1990d06
Cleaned up syntax naming
LPeter1997 ae6d486
Syntax fixup
LPeter1997 1d0e05f
Parser done
LPeter1997 e987b77
Some PR feedback.
Kuinox fbbffa9
Update DefaultConstructorSymbol.cs
LPeter1997 0cd287e
Update SourceThisParameterSymbol.cs
LPeter1997 35e0a51
Simplification
LPeter1997 bb06a72
More simplification
LPeter1997 7072883
Placed additional symbols into respective class
LPeter1997 9482eba
Update SyntaxFactory.cs
LPeter1997 6f3ae69
Update ErrorThisParameterSymbol.cs
LPeter1997 5c49194
Update ErrorThisParameterSymbol.cs
LPeter1997 312be23
Tweaks
LPeter1997 5d32842
Update SemanticModel.cs
LPeter1997 37c5f9a
Update Binder_Expression.cs
LPeter1997 a32b6c7
Update SourceClassSymbol.cs
LPeter1997 ff3636c
Update ClassBinder.cs
LPeter1997 3178f1b
Update ClassBinder.cs
LPeter1997 91db04d
Simplified
LPeter1997 498fd58
Update BinderCache.cs
LPeter1997 b10833e
Update MetadataCodegen.cs
LPeter1997 8d7c65b
Update MetadataCodegen.cs
LPeter1997 f46bb86
Update ModelExtensions.cs
LPeter1997 06dad34
Update Procedure.cs
LPeter1997 01ae05d
Removed parent relationships
LPeter1997 27f3e2f
Update MetadataCodegen.cs
LPeter1997 2155163
Update IClass.cs
LPeter1997 3a8e650
Update Module.cs
LPeter1997 b21515f
Rename
LPeter1997 cca9b52
Reorder, rename
LPeter1997 3842497
Fixed errors
LPeter1997 05793a9
Update ParserTests.cs
LPeter1997 f054f7b
Update CompilingCodeTests.cs
LPeter1997 0d44315
Update ConstructorFunctionSymbol.cs
LPeter1997 50bc7fb
Made class props work
LPeter1997 fc64a4d
Update SourceClassSymbol.cs
LPeter1997 4a7df1a
Update MetadataCodegen.cs
LPeter1997 3d8db0c
Slight fixes
LPeter1997 f0526b6
Fix
LPeter1997 d418c40
Codegen and IR fix
LPeter1997 02ed123
Update MetadataCodegen.cs
LPeter1997 3429e63
Update MetadataCodegen.cs
LPeter1997 a42b49f
Update MetadataCodegen.cs
LPeter1997 4e71a87
Update MetadataCodegen.cs
LPeter1997 a6a5d9e
Update MetadataCodegen.cs
LPeter1997 1b79b58
Simplification
LPeter1997 bf23220
Update MetadataCodegen.cs
LPeter1997 670c6d4
Naming fixes
LPeter1997 0bbfb53
Tests pass
LPeter1997 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using Draco.Chr.Rules; | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
src/Draco.Compiler/Api/Syntax/Extensions/SyntaxNodeTraversalExtensions.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.