Skip to content

Commit 25770c2

Browse files
committed
Taking over
1 parent 367ac2a commit 25770c2

File tree

8 files changed

+44
-40
lines changed

8 files changed

+44
-40
lines changed

.github/workflows/rust.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Rust
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
- name: Build
20+
run: cargo build --verbose
21+
- name: Run tests
22+
run: cargo test --verbose
23+
# snapshot testing
24+
- name: Assert no changes
25+
run: git diff --exit-code

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
/.vscode
12
/target
23
Cargo.lock

.travis.yml

-27
This file was deleted.

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Be aware that this project is still v0.y.z which means that anything can change
1717
We defined for this project that while being on major version zero we mark incompatible changes with
1818
new minor version numbers. Please note that this is no version handling covered by `Semver`.
1919

20-
## 0.1.0 - Not released yet
20+
## 0.1.0 - 2024-06-08
2121

2222
To make the generation of parse tables more flexible we added a way to control this process.
2323
The trait `Config` is used for this and a custom implementation can be provided to deviate from the

COPYRIGHT

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
lalr is copyright 2015, Geoffry Song.
1+
lalry is copyright 2024, Singer, Jörg.
22

33
Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
44
http://www.apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or

Cargo.toml

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
[package]
22

3-
name = "lalr"
3+
name = "lalry"
44
version = "0.1.0"
5-
authors = ["Geoffry Song <[email protected]>"]
5+
authors = ["Geoffry Song <[email protected]>", "Jörg Singer <[email protected]>"]
66

77
description = "a library for creating LALR(1) parsers from context-free grammars"
8-
homepage = "https://github.com/goffrie/lalr"
9-
repository = "https://github.com/goffrie/lalr"
10-
documentation = "http://goffrie.github.io/lalr"
8+
repository = "https://github.com/jsinger67/lalry"
9+
documentation = "https://docs.rs/lalry"
1110
license = "MIT OR Apache-2.0"
1211
keywords = ["lalr", "parsing"]
1312

1413
[lib]
1514

16-
name = "lalr"
15+
name = "lalry"

LICENSE-MIT

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
Copyright (c) 2015 Geoffry Song
1+
Copyright (c) 2024 Jörg Singer
2+
Copyright (c) 2015-2024 Geoffry Song
23

34
Permission is hereby granted, free of charge, to any
45
person obtaining a copy of this software and associated

README.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
## lalr
1+
# lalry
22

3-
[![Build Status](https://travis-ci.org/goffrie/lalr.png)](https://travis-ci.org/goffrie/lalr)
3+
This is a fork of the great [lalr](https://github.com/goffrie/lalr) crate, a library for
4+
creating LALR(1) parsers from context-free grammars.
45

5-
A library for creating LALR(1) parsers from context-free grammars. That's pretty much it.
6+
## Additions to 'lalr'
67

7-
[API Documentation.](http://goffrie.github.io/lalr/lalr/index.html)
8+
To make the generation of parse tables more flexible we added a way to control this process.
9+
The trait `Config` is used for this and a custom implementation can be provided to deviate from the
10+
default.
11+
To keep the default behavior as in previous versions the user can use the `DefaultConfig` structure
12+
that provides the implementation of the standard behavior.

0 commit comments

Comments
 (0)