marchliu / jaskell-core   0.8.3

MIT License GitHub

a scala library for support jaskell design

Scala versions: 2.13 2.12 2.11

Jaskell Core

Jaskell Core is a utils library made used scala. It includes a parsec combinators library, a SQL helper library and a arithmetic expressions parser.

Jaskell java8 is a transplant edition for java8 projects.

Maven Central

INSTALLATION

Maven

<dependency>
  <groupId>io.github.marchliu</groupId>
  <artifactId>jaskell-core_2.13</artifactId>
  <version>0.8.1</version>
</dependency>

Gradle

implementation 'io.github.marchliu:jaskell-core_2.13:0.8.1'

Gradle Kotlin

implementation("io.github.marchliu:jaskell-core_2.13:0.8.1")

SBT

libraryDependencies += "io.github.marchliu" % "jaskell-core_2.13" % "0.8.1"

Apache Ivy

<dependency org="io.github.marchliu" name="jaskell-core_2.13" rev="0.8.1" />

Groovy Grap

@Grapes(
  @Grab(group='io.github.marchliu', module='jaskell-core_2.13', version='0.8.1')
)

Leiningen

[io.github.marchliu/jaskell-core_2.13 "0.8.1"]

Apache Bluildr

'io.github.marchliu:jaskell-core_2.13:jar:0.8.1'

Maven Central Badge

[![Maven Central](https://img.shields.io/maven-central/v/io.github.marchliu/jaskell-core_2.13.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22io.github.marchliu%22%20AND%20a:%22jaskell-core_2.13%22)

PURL

pkg:maven/io.github.marchliu/[email protected]

Bazel

maven_jar(
    name = "jaskell-core_2.13",
    artifact = "io.github.marchliu:jaskell-core_2.13:0.8.1",
    sha1 = "b58ed93199e445d043949561fdc1fea710d60442",
)

更新日志

0.1

  • 重新实现了 parsec 组件,对有序列表(Seq)和文本提供更有针对性的支持

0.2

  • 提供了支持位置查询的 txt state
  • State apply string 生成 txt state。

0.3

  • upgrade to scala 2.13
  • finish sql specs

0.4

  • add documents for parsec parser
  • bug fixed about statement write action
  • add <|> adn <?> operator
  • add opE, TndBy and sepEndBy
  • fixed int parser bug
  • fixed skipWhitespaces function error
  • add ? operator

0.4.1

  • add expression parser

0.4.2

  • fixed a binary bug.

0.5

  • rewrite all parsec as functional

0.5.1

  • add ! operator

0.5.2

  • add parameter expression

0.5.3

  • add distinct

0.5.4

  • bug in not char fixed
  • add injection check spec

0.5.5

  • add get message method for parsec exception

0.5.6

  • add predicate parser
  • add trap method in state for crate left parsec expeption

0.5.7

  • add is method in atom namespace

0.6

  • redesigned type parameters to make them more functional
  • all tests and expressions rewritten.

0.6.1

  • add future monad
  • use typeclasses
  • support implicit converter for monad instance

0.6.2

  • make future monad auto create monad instance implicitly

0.8.1

  • code clean

0.6.7

  • add skip1 spaces
  • add skip1 whitespaces

0.7.0

  • bugs fixed
  • add builtin combinators extension methods

0.7.1

  • sync api design as jaskell-dotty

0.7.2

  • add chars
  • add while in

0.7.3

  • compatibility 2.12 and 2.13

0.8.1

  • compatibility 2.11, 2.12 and 2.13

0.7.5

  • uniform parsers name
  • code clean
  • collected typeclasses in *.Implicits object

0.8.0

  • add croupier type for custom random select algo

0.8.1

  • add lite scaled algo
  • add binary scaled
  • add binary rank

0.8.2

  • fixed edge condition mistake in damping
  • make invert smoothness. now it just be a negative damping

0.8.3

  • add enumerate parser
  • add enumerate utils methods in object Txt and Combinator