Common classes for java, independent from other libraries
Go to file
2024-04-17 11:06:12 +02:00
buildSrc feat: replace commons-logging with slf4j-based commons-logger and use type-safe dependency DSLs 2024-03-09 12:37:38 +01:00
commons feat(commons): utility interface for attaching instances of an object to contexts 2024-04-13 13:23:04 +02:00
commons-gson feat(serialize): implement data binding 2024-04-12 20:04:15 +02:00
commons-http-client feat(serialize): implement data binding 2024-04-12 20:04:15 +02:00
commons-http-server feat: replace commons-logging with slf4j-based commons-logger and use type-safe dependency DSLs 2024-03-09 12:37:38 +01:00
commons-io feat(serialize): implement data binding 2024-04-12 20:04:15 +02:00
commons-logger fix(logger): catch exception during configuration 2024-03-14 15:36:26 +01:00
commons-manifold feat: replace commons-logging with slf4j-based commons-logger and use type-safe dependency DSLs 2024-03-09 12:37:38 +01:00
commons-serialize fix(serialize): support different exception types in copyTo 2024-04-13 20:47:34 +02:00
commons-serialize-databind feat(serialize): rework Transport api for writing 2024-04-13 14:21:07 +02:00
commons-serialize-databind-api feat(serialize-databind): split into databind and databind-api 2024-04-13 13:48:34 +02:00
commons-serialize-databind-sql feat(serialize-databind): split into databind and databind-api 2024-04-13 13:48:34 +02:00
commons-serialize-dsl feat(serialize-dsl): port serialize-gson-dsl to commons-serialization 2024-04-13 14:21:28 +02:00
commons-serialize-json style(serialize-json): Make use of switch expressions 2024-04-17 10:44:09 +02:00
commons-serialize-xml fix(serialize-xml): Prevent unexpected dots in NativeXmlReader.getPath 2024-04-17 11:06:12 +02:00
commons-unsafe docs(unsafe): Document commons-unsafe 2024-03-09 14:08:27 +01:00
gradle feat(muscript): add jar with all modules for use in jfmods 2024-04-14 10:54:31 +02:00
muscript chore(muscript): delete old implementation keeping redirects in place for docs 2024-04-07 17:25:47 +02:00
muscript-all feat(muscript): add jar with all modules for use in jfmods 2024-04-14 10:54:31 +02:00
muscript-ast fix(muscript): restore old convenience methods for decompiling 2024-04-07 17:16:26 +02:00
muscript-core feat(muscript): port over DirectPreconditionVisitor implicitly 2024-04-07 15:55:45 +02:00
muscript-data-additional fix(muscript): actually export standard lib 2024-04-07 17:18:03 +02:00
muscript-data-dynamic fix(muscript): disable formatting for intentional exceptions 2024-04-07 17:17:53 +02:00
muscript-gson feat(muscript-gson): rename to muscript-json and port to commons-serialize-json 2024-04-12 21:19:36 +02:00
muscript-json feat(serialize): rework Transport api for writing 2024-04-13 14:21:07 +02:00
muscript-optimizer feat(muscript): enhance Get to prefer List/Object-specific variants if type can be easily inferred 2024-04-07 16:21:18 +02:00
muscript-parser fix(muscript): handle "this" correctly 2024-04-07 17:18:23 +02:00
muscript-runtime feat(muscript-gson): rename to muscript-json and port to commons-serialize-json 2024-04-12 21:19:36 +02:00
muscript-serialize fix(muscript): correct muscript-serialize module info 2024-04-07 17:16:44 +02:00
.gitignore 0.1.0 2022-04-28 20:52:32 +02:00
.woodpecker.yml feat: update to JDK 21 2024-04-03 17:28:40 +02:00
build.gradle.kts feat: update to JDK 21 2024-04-03 17:28:40 +02:00
README.md feat(muscript): add jar with all modules for use in jfmods 2024-04-14 10:54:31 +02:00
settings.gradle.kts feat(muscript): add jar with all modules for use in jfmods 2024-04-14 10:54:31 +02:00

JfCommons

Common code for my java projects. Uses my common build scripts.

Modules

  • commons: Common java code without a major theme or external dependencies
  • commons-io: Utility classes for caching, hashing, reading json, opening archives, etc.
  • commons-http-client: A simple http client
  • commons-http-server: A simple http server based on JLHTTP

Serialization

  • commons-serialize: Provides the framework for serialization and deserialization. Describes SerializeWriter, SerializeReader, Transport and related classes.
  • commons-serialize-dsl: Provides a Kotlin DSL for serialization and deserialization wrapping commons-serialize
  • commons-serialize-json: Provides a json implementation for commons-serialize
  • commons-serialize-xml: Provides an xml implementation for commons-serialize
  • commons-serialize-databind: Provides data binding inspired by Gson for commons-serialize
  • commons-serialize-databind-api: Provides a thin API around commons-serialize-databind for use in other libraries that don't want to depend on commons-serialize-databind directly
  • commons-serialize-databind-sql: Provides TypeAdapters for SQL types for commons-serialize-databind (separate module because of the dependency on java.sql)

muScript

(muscript is a simple scripting language, see here for more information

  • muscript-all: Non-JPMS module shadowing the parser, serializer, optimizer, runtime, and data modules.
  • muscript-core: Core classes for muscript. Required by all other muscript modules.
  • muscript-ast: Implements the AST for muscript as algebraic data types. Contains no logic.
  • muscript-data-dynamic: Implements the dynamic data model for muscript.
  • muscript-data-additional: Implements additional data types for muscript, including the standard library.
  • muscript-parser: Implements the parser for muscript. Originally based on StarScript, it also provides conversion from code targeting that.
  • muscript-serialize: Implements a Decompiler for muscript. It is called this because it can be used to serialize Dynamic data.
  • muscript-optimizer: Implements a simple optimizer for muscript. Entirely optional.
  • muscript-runtime: Implements a runtime for muscript, based on muscript-data-dynamic for runtime data representation but with optimizations for typed expressions.
  • muscript-json: Glue code for manipulating json with muscript

Interop

  • commons-logger: A simple logging framework for System.Logger supporting hot reloading and slightly improved APIs
  • commons-manifold: Some common code using the features of manifold-ext. Mainly extension classes.
  • commons-gson: Provides some utility classes around my fork of gson and an implementation of the Serializer interface
  • commons-unsafe: Provides wrappers around sun.misc.Unsafe and the LambdaMetaFactory