Project icon

com.io7m.jlexing

Build status Maven Central Codecov

The jlexing package provides primitive types shared by all lexer implementations.

Contents

Features

  • Immutable lexical position types.
  • Mutable lexical position types.
  • 100% automated unit test coverage
  • OSGi-ready
  • JPMS-ready
  • ISC license

Releases

The most recently published version of the software is 3.2.0.

Source code and binaries are available from the repository.

Documentation

Documentation for the 3.2.0 release is available for reading online.

Documentation for current and older releases is archived in the repository.

User documentation

See the README.

Maven

The following is a complete list of the project's modules expressed as Maven dependencies:

<dependency>
  <groupId>com.io7m.jlexing</groupId>
  <artifactId>com.io7m.jlexing</artifactId>
  <version>3.2.0</version>
</dependency>

<dependency>
  <groupId>com.io7m.jlexing</groupId>
  <artifactId>com.io7m.jlexing.tests</artifactId>
  <version>3.2.0</version>
</dependency>

<dependency>
  <groupId>com.io7m.jlexing</groupId>
  <artifactId>com.io7m.jlexing.core</artifactId>
  <version>3.2.0</version>
</dependency>

Each release of the project is made available on Maven Central within ten minutes of the release announcement.

Changes

Subscribe to the releases atom feed.

2024-05-07 Release: com.io7m.jlexing 3.2.0
2024-04-19 Change: Update org.immutables:value:2.10.0 → 2.10.1.
2022-12-06 Release: com.io7m.jlexing 3.1.0
2022-12-06 Change: Add the ability for lexical positions to represent spans.
2022-04-09 Release: com.io7m.jlexing 3.0.0
2022-04-09 Change: (Backwards incompatible) Require JDK 17
2017-12-07 Release: com.io7m.jlexing 2.0.0
2017-11-28 Change: Add LexicalType interface that providers can implement
2017-12-07 Change: (Backwards incompatible) Publish Java 9 modules, require JDK 9
2017-04-25 Release: com.io7m.jlexing 1.1.0
2017-04-25 Change: Add convenient LexicalPositions type to construct positions tersely.
2017-04-25 Release: com.io7m.jlexing 1.0.0
2017-04-25 Change: Initial public API release.
2017-04-06 Release: com.io7m.jlexing 0.2.1
2017-04-06 Change: Rename project. Use the new primogenitor POM and 2017 project conventions.
2016-11-16 Release: com.io7m.jlexing 0.2.0
2016-11-16 Change: (Backwards incompatible) The entire API was replaced with immutables.org generated types.
2016-08-04 Release: com.io7m.jlexing 0.1.2
2016-08-04 Change: The packaged jar is now an OSGi bundle.
2015-10-20 Release: com.io7m.jlexing 0.1.1
2015-10-20 Change: Add static convenience methods to construct new position values from existing values.
2015-10-20 Release: com.io7m.jlexing 0.1.0
2015-10-20 Change: Initial release.

Sources

This project uses Git to manage source code.

Repository: https://www.github.com/io7m-com/jlexing

$ git clone https://www.github.com/io7m-com/jlexing

License

Copyright © 2024 Mark Raynsford <code@io7m.com> https://www.io7m.com

Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted, provided that the
above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.

Bug Tracker

The project uses GitHub Issues to track issues.