Skip to content

Commit

Permalink
Merge branch 'dev-0.1.1' into release-0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
GHTaarn committed Mar 10, 2024
2 parents 1de6d7c + 3a27ac5 commit 6bd0c41
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "UnicodeREPL"
uuid = "386912cb-a936-462a-a347-7bd6cef0b04e"
authors = ["GHTaarn <[email protected]>"]
version = "0.1.0"
version = "0.1.1"

[deps]
REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
Expand Down
20 changes: 15 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
# UnicodeREPL

This is a small [Julia](https://julialang.org) package that enables the user
to obtain any Unicode character (that the system fonts can display) in the
Julia REPL if the [Unicode codepoint](https://codepoints.net) is known.
to obtain any Unicode character in the Julia REPL if the
[Unicode codepoint](https://codepoints.net) is known (and if the system fonts
can display it).

## Installation

In the Julia REPL type:
```julia
import Pkg
Pkg.add("https://github.com/GHTaarn/UnicodeREPL.jl")
Pkg.add("UnicodeREPL")
```
(Because `UnicodeREPL.jl` uses non-public Julia interface components,
the official version is only compatible with stable Julia versions.
You can bypass this check with
`Pkg.add("https://github.com/GHTaarn/UnicodeREPL.jl#nocompat")` if you are
using an unstable version of Julia)

## Use

Expand All @@ -19,9 +25,13 @@ In the Julia REPL type:
using UnicodeREPL
```

Hereafter, you will be able to enter "unicode repl" mode by typing
Herafter you can use the docstring (by typing `?UnicodeREPL`) to get a
quick overview of how to use UnicodeREPL.

The main feature is "unicode repl" mode, which can be entered by typing
the `^` character at the start of a line.
In "unicode repl" mode, any pattern matching `\u(XXXX)` will be
When the `Tab` key is pressed in "unicode repl" mode, patterns matching
`\u(XXXX)` will be
converted to the Unicode character corresponding to `XXXX`, where `XXXX` is a
string of any length containing the hexadecimal
[Unicode codepoint](https://codepoints.net) of a valid Unicode character.
Expand Down
4 changes: 2 additions & 2 deletions src/UnicodeREPL.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
On an empty line, press ^ to enter unicode_repl mode and backspace to exit.
In unicode_repl mode, `\\u(XXXX)` tab completes to the symbol at Unicode
codepage `XXXX` where `XXXX` is a hexadecimal string of any length.
In unicode_repl mode, `\\u(XXXX)` tab completes to the symbol with Unicode
codepoint `XXXX` where `XXXX` is a hexadecimal string of any length.
## Exported Symbols
Expand Down

2 comments on commit 6bd0c41

@GHTaarn
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register branch=release-0.1

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/102613

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.1 -m "<description of version>" 6bd0c41a6c9b646a81ccc62c0feeae3e587e79d9
git push origin v0.1.1

Please sign in to comment.