Skip to content

Commit

Permalink
refactor MultipleLibModules from the stdlib module to the interpreter…
Browse files Browse the repository at this point in the history
… module
  • Loading branch information
sunny-chung committed Apr 18, 2024
1 parent 7e59646 commit 70469e9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions interpreter/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Property `endExclusive` to the class `Token`
- Function `Lexer.currentMode`
- Optional constructor parameter `isParseComment` to `Lexer`. If it is `true`, `Token` instances would be created for comments. Default is `false`.
- `MultipleLibModules` -- moved from the kotlite-stdlib library

### Changed

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
package com.sunnychung.lib.multiplatform.kotlite.stdlib

import com.sunnychung.lib.multiplatform.kotlite.model.CustomFunctionDefinition
import com.sunnychung.lib.multiplatform.kotlite.model.ExtensionProperty
import com.sunnychung.lib.multiplatform.kotlite.model.GlobalProperty
import com.sunnychung.lib.multiplatform.kotlite.model.LibraryModule
import com.sunnychung.lib.multiplatform.kotlite.model.ProvidedClassDefinition
package com.sunnychung.lib.multiplatform.kotlite.model

/**
* @param modules An ordered list of modules where the one depends on another one should be placed later.
Expand Down
4 changes: 4 additions & 0 deletions stdlib/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Global function `setKotliteStdlibLogMinLevel(severity: Severity)`

### Removed

- `MultipleLibModules` -- it is moved into the kotlite-interpreter library

### Fixed

- Logger is no longer a shared instance but a dedicated one
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package com.sunnychung.lib.multiplatform.kotlite.stdlib

import com.sunnychung.lib.multiplatform.kotlite.model.MultipleLibModules

class AllStdLibModules(outputToConsoleFunction: (String) -> Unit = { print(it) }) : MultipleLibModules(
name = "AllStdlib",
modules = listOf(
Expand Down

0 comments on commit 70469e9

Please sign in to comment.