-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
various minor fixes for classes (#406)
includes: * fix an enormous ocaml warning * add explicit keyword and default keyword to parser * add a fix to properrly detect value initialization in parser * fail the kompile build if we have warnings * fix alignment and size of class types * fix a minor confluence error in conversion.k * add semantics for this keyword in expressions to translation semantics * add some types to support for extern "C" * support calling 2-arg main function * fixes for constructors * value initialization of classes and arrays * direct initialization and copy initialization from derived class of class type objects * refactoring of new code to support class types better * fix broken overloading cases involving resolveEmptyOverload * substantial improvement to implicit conversion sequences for overloading * return statement with no operand * fix broken code for overloading for arguments which are BraceInit * support computing value category of overloaded operators * add sqrt function to ocaml backend
- Loading branch information
1 parent
80b1724
commit c95b335
Showing
36 changed files
with
487 additions
and
220 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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 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.