Skip to content

Commit

Permalink
Rename to chalcolith
Browse files Browse the repository at this point in the history
  • Loading branch information
chalcolith committed Jul 6, 2023
1 parent 5c9ed73 commit 550c687
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Additional notes regarding formatting:

## Bug report

First of all please [search existing issues](https://github.com/kulibali/kiuatan/issues) to make sure your issue hasn't already been reported. If you cannot find a suitable issue — [create a new one](https://github.com/kulibali/kiuatan/issues/new).
First of all please [search existing issues](https://github.com/chalcolith/kiuatan/issues) to make sure your issue hasn't already been reported. If you cannot find a suitable issue — [create a new one](https://github.com/chalcolith/kiuatan/issues/new).

Provide the following details:

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Kiuatan

![CI](https://github.com/kulibali/kiuatan/workflows/CI/badge.svg)
![CI](https://github.com/chalcolith/kiuatan/workflows/CI/badge.svg)

Kiuatan ("horse" or "pony" in [Chinook Jargon](https://en.wikipedia.org/wiki/Chinook_Jargon#Chinook_Jargon_words_used_by_English-language_speakers)) is a library for building and running parsers in the [Pony](https://www.ponylang.org) programming language.

Expand All @@ -12,7 +12,7 @@ Kiuatan ("horse" or "pony" in [Chinook Jargon](https://en.wikipedia.org/wiki/Chi
- Kiuatan parsers are "packrat" parsers; they memoize intermediate results, resulting in linear-time parsing.
- Parsers use Mederios et al's [algorithm](https://arxiv.org/abs/1207.0443) to handle unlimited left-recursion.

Further [documentation is here](https://kulibali.github.io/kiuatan/kiuatan--index/).
Further [documentation is here](https://chalcolith.github.io/kiuatan/kiuatan--index/).

## Obtaining Kiuatan

Expand All @@ -21,7 +21,7 @@ Further [documentation is here](https://kulibali.github.io/kiuatan/kiuatan--inde
The easiest way to incorporate Kiuatan into your Pony project is to use Pony [Corral](https://github.com/ponylang/corral). Once you have it installed, `cd` to your project's directory and type:

```bash
corral add github kulibali/kiuatan
corral add github chalcolith/kiuatan
```

This will add the library to your project. You can then build your project with something like:
Expand All @@ -36,7 +36,7 @@ corral run -- ponyc .
You can clone and build Kiuatan directly from GitHub:

```bash
git clone https://github.com/kulibali/kiuatan.git
git clone https://github.com/chalcolith/kiuatan.git
cd kiuatan
make test
```
Expand All @@ -45,8 +45,8 @@ To use Kiuatan in a project you will need to add `kiuatan/kiuatan` to your `PONY

## Documentation

[Documentation is here](https://kulibali.github.io/kiuatan/kiuatan--index/).
[Documentation is here](https://chalcolith.github.io/kiuatan/kiuatan--index/).

## Example

See the [calc example](https://github.com/kulibali/kiuatan/blob/main/examples/calc/calc) for a sample of how to define and use a grammar for Kiuatan.
See the [calc example](https://github.com/chalcolith/kiuatan/blob/main/examples/calc/calc) for a sample of how to define and use a grammar for Kiuatan.
4 changes: 2 additions & 2 deletions corral.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"info": {
"name": "kiuatan",
"description": "Kiuatan (\"horse\" or \"pony\" in Chinook Jargon) is a library for building and running parsers in the Pony programming language.",
"homepage": "https://github.com/kulibali/kiuatan",
"documentation_url": "https://kulibali.github.io/kiuatan/kiuatan--index/",
"homepage": "https://github.com/chalcolith/kiuatan",
"documentation_url": "https://chalcolith.github.io/kiuatan/kiuatan--index/",
"license": "MIT",
"version": "1.2.1"
},
Expand Down
10 changes: 5 additions & 5 deletions kiuatan/docs.pony
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Kiuatan ("horse" or "pony" in [Chinook Jargon](https://en.wikipedia.org/wiki/Chi
The easiest way to incorporate Kiuatan into your Pony project is to use Pony [Corral](https://github.com/ponylang/corral). Once you have it installed, `cd` to your project's directory and type:
```bash
corral add github kulibali/kiuatan
corral add github chalcolith/kiuatan
```
This will add the library to your project. You can then build your project with something like:
Expand All @@ -33,7 +33,7 @@ corral run -- ponyc .
You can clone and build Kiuatan directly from GitHub (you must have [Corral](https://github.com/ponylang/corral) in your `PATH`):
```bash
git clone https://github.com/kulibali/kiuatan.git
git clone https://github.com/chalcolith/kiuatan.git
cd kiuatan
make && make test
```
Expand All @@ -42,7 +42,7 @@ To use Kiuatan in a project without [Corral](https://github.com/ponylang/corral)
## Examples
The Kiuatan repo contains a canonical calulator example of how to use Kiuatan: [calc](https://github.com/kulibali/kiuatan/blob/main/examples/calc/calc).
The Kiuatan repo contains a canonical calulator example of how to use Kiuatan: [calc](https://github.com/chalcolith/kiuatan/blob/main/examples/calc/calc).
## Concepts
Expand Down Expand Up @@ -83,7 +83,7 @@ You can build the body of a rule from the following combinator classes:
- [`Look`](../kiuatan-Look): will attempt to match its child rule, but will *not* advance the match position.
- [`Neg`](../kiuatan-Neg): will succeed if its child rule does *not* match, and will not advance the match position.
- [`Star`](../kiuatan-Star): will match a number of repetitions of its child rule. You can specify a minimum or maximum number of times to match.
- [`Bind`](../kiuatan-Bind): will bind the result of its child rule to an existing variable. See the [calc example](https://github.com/kulibali/kiuatan/blob/main/examples/calc/calc/grammar_builder.pony) for an example of how to use `Bind`.
- [`Bind`](../kiuatan-Bind): will bind the result of its child rule to an existing variable. See the [calc example](https://github.com/chalcolith/kiuatan/blob/main/examples/calc/calc/grammar_builder.pony) for an example of how to use `Bind`.
- [`Condition`](../kiuatan-Bind): will succeed only if its child matches and the given condition returns `true`.
#### Recursion
Expand Down Expand Up @@ -133,7 +133,7 @@ In order to attempt to parse a particular sequence (or sequence of segments) of
The generic parameters for the [`Parser`](../kiuatan-Parser) actor type (and other types in Kiuatan) are as follows:
- `S`: this is the "source type"; i.e. your [`Source`](../kiuatan-Source)s will be sequences of values of this type.
- `D`: this is a "data" type. You can pass a value of this type to the [`Parser.parse()`](http://kulibali.github.io/kiuatan/kiuatan-Parser/index.html#parse) behaviour, and this value will be passed to your semantic [`Action`](../kiuatan-Action)s.
- `D`: this is a "data" type. You can pass a value of this type to the [`Parser.parse()`](http://chalcolith.github.io/kiuatan/kiuatan-Parser/index.html#parse) behaviour, and this value will be passed to your semantic [`Action`](../kiuatan-Action)s.
- `V`: this is the "result value" type. For each successful parse result, zero or more result values (from child results) will be passed to your semantic [`Action`](../kiuatan-Action), if present. If a rule has no action, child result values will be combined and passed to the next highest action.
#### Updating Source
Expand Down

0 comments on commit 550c687

Please sign in to comment.