martmists
12/23/2021, 7:43 PMPiotr Krzemiński
01/03/2022, 10:43 AMhttps://user-images.githubusercontent.com/3110813/147742047-1804b067-18be-4f08-b8c9-f123c7fc62f9.png▾
Piotr Krzemiński
01/19/2022, 1:54 PMSerVB
01/26/2022, 6:45 PM> Task :compiler:resolution:compileKotlin
e: error while writing /home/servb/IdeaProjects/kotlin-python/compiler/resolution/build/classes/kotlin/main/org/jetbrains/kotlin/resolve/calls/components/CollectionTypeVariableUsagesInfo$isContainedInInvariantOrContravariantPositionsWithDependencies$isContainedAnyDependentTypeInReturnType$1$1.class (Permission denied)
Any ideas what the problem is? Probably too long path but then I'm wondering why it's worked before...SerVB
02/04/2022, 11:59 AMSerVB
02/04/2022, 7:17 PMSerVB
02/04/2022, 7:18 PMSerVB
02/11/2022, 8:59 PMSerVB
02/12/2022, 3:55 PMgenerated
)? Also, would be cool to have constants for True
and so on.
Maybe in the future we can even extract it as a Python AST library for JVM and Kotlin Multiplatform!
By the way, I don't want to get rid of auto-generated code: it seems useful because it's actually a base that ensures that we have every AST element covered correctlyPiotr Krzemiński
02/12/2022, 3:58 PMPiotr Krzemiński
02/18/2022, 5:06 PMSerVB
02/18/2022, 7:47 PMSerVB
02/22/2022, 9:47 PMSerVB
02/25/2022, 7:10 PMSerVB
02/25/2022, 7:13 PMPiotr Krzemiński
03/04/2022, 1:25 PMmain
function: [#74] Add end-to-end tests for main function, and actually I was surprised that the external
mechanism works as expected. It means we can use Python's standard library this way 🎉 For example, for such basic things as printing out, which still doesn't work through the Kotlin's stdlib
• I really want Kotlin's println
to work, and I decided I'll focus on it now. Here's are my work-in-progress notes: https://github.com/krzema12/kotlin-python/wiki/Notes-on-making-%60println%60-work I found some concrete missing stuff and things from JS stdlib that we don't need, and the bottom line is that I have a concrete plan for several first stepsSerVB
03/04/2022, 5:09 PMSerVB
03/18/2022, 10:14 AMSerVB
03/18/2022, 5:02 PMSerVB
03/25/2022, 5:45 PMSerVB
03/25/2022, 5:46 PMname 'Array' is not defined
in the local shelf, it's quite simple. Should I push it before we support kotlinc with stdlib-py?Piotr Krzemiński
03/28/2022, 7:12 AMdist
and using it everywhere where necessary (PR #124), I concluded the next step about Python-specific stdlib would be to get independent from the JS stdlib. Currently some code is copied from it before the Python one is built, like in case of JS-IR, which is expected because we copied JS-IR's build logic. E.g. libraries/stdlib/js/src/kotlin/console.kt is just in the JS stdlib and now both JS-IR and Python stdlib copy it over to their source code before building. As a concrete example, it means that without getting independent from JS stdlib we won't be able to e.g. adjust the implementation of Kotlin's `print`/`println`SerVB
04/01/2022, 6:52 PMPiotr Krzemiński
04/03/2022, 8:39 AMSerVB
04/08/2022, 9:24 AMSerVB
04/08/2022, 4:14 PMSerVB
04/29/2022, 4:42 PMPiotr Krzemiński
05/06/2022, 5:57 AMSrSouza
06/22/2022, 10:51 PMEdward Kauna
05/13/2024, 6:28 AM