Skip to content

Commit

Permalink
Add Koltin annotations chapter
Browse files Browse the repository at this point in the history
  • Loading branch information
francescoo22 committed Jul 24, 2024
1 parent 318fb3c commit 9c3b40d
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 24 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.pdf
.DS_Store
.vscode/
.vscode/
TODO.md
21 changes: 0 additions & 21 deletions chapters/4-Annotation-System.typ
Original file line number Diff line number Diff line change
Expand Up @@ -760,24 +760,3 @@ Where _fresh_ is a variable that has not been declared before.
*TODO: Add example for return*
// TODO: Stack example + DERIVATION
// --------
// TODO: put this in a separate chapter
// == Aliasing control in Kotlin
// === Verify contracts
// // example of contracts usage
// // example of improvement in verification of contracts
// // quote something??
// === Smart cast
// === Function optimiztion (modify lists implace)
// === Garbage collection in Kotlin native
// == The system
19 changes: 19 additions & 0 deletions chapters/5-Annotations-Kotlin.typ
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#pagebreak(to:"odd")
= Annotations in Kotlin

== Examples of Aliasing control in Kotlin

// put examples that are currently in chapter 4

== Improvents to the language

=== Contracts verification


// example of contracts usage

// example of improvement in verification of contracts

=== Smart cast
=== Function optimiztion (modify lists implace)
=== Garbage collection in Kotlin native
File renamed without changes.
File renamed without changes.
5 changes: 3 additions & 2 deletions structure.typ
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
#include "./chapters/2-Background.typ"
#include "./chapters/3-Related-Work.typ"
#include "./chapters/4-Annotation-System.typ"
#include "./chapters/5-Encoding.typ"
#include "./chapters/6-Conclusion.typ"
#include "./chapters/5-Annotations-Kotlin.typ"
#include "./chapters/6-Encoding.typ"
#include "./chapters/7-Conclusion.typ"

// Bibliography

Expand Down

0 comments on commit 9c3b40d

Please sign in to comment.