From a9a21737b1ff68a237d586b4d5b7c7f6d3e1d6fa Mon Sep 17 00:00:00 2001 From: Luxferre Date: Sun, 26 Jul 2026 19:20:02 +0300 Subject: [PATCH] moved to the new origin domain --- README.md | 16 ++++++++-------- clyxc/main.go | 2 +- go.mod | 2 +- main.go | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 6defe53..d3c0e36 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ The most recent Clyx version is **0.3.7**. The version is bumped every time the ## Implementations -- [Reference implementation in Python](clyx-python/clyx/clyx.py) (compatible with MicroPython and [T-DeckARD](https://codeberg.org/luxferre/t-deckard) on CircuitPython) +- [Reference implementation in Python](clyx-python/clyx/clyx.py) (compatible with MicroPython and [T-DeckARD](https://code.luxferre.top/luxferre/t-deckard) on CircuitPython) - [Reference implementation in Go](clyx-go/clyx.go) ## Installation @@ -40,7 +40,7 @@ Depending on the implementation, there are several installation ways. For the easiest way to install the reference Python-based Clyx implementation, [pipx](https://pipx.pypa.io/stable/) is recommended: ```sh -pipx install "git+https://codeberg.org/luxferre/clyx.git#subdirectory=clyx-python" +pipx install "git+https://code.luxferre.top/luxferre/clyx.git#subdirectory=clyx-python" ``` This will install the REPL as `clyx` into your current environment. @@ -64,15 +64,15 @@ This will install Clyx as a T-DeckARD applet. To install the Go-based Clyx implementation and its tools (including `clyxc`) directly from Git, run: ```sh -go install codeberg.org/luxferre/clyx/...@latest +go install code.luxferre.top/luxferre/clyx/...@latest ``` -*(Note: If you are installing immediately after a new commit or release has been pushed, Go's default module proxy might serve a cached version. You can bypass this cache by running `GOPROXY=direct go install codeberg.org/luxferre/clyx/...@latest` instead).* +*(Note: If you are installing immediately after a new commit or release has been pushed, Go's default module proxy might serve a cached version. You can bypass this cache by running `GOPROXY=direct go install code.luxferre.top/luxferre/clyx/...@latest` instead).* For maximum performance, you can pass optimization flags to build stripped binaries without debug symbols, bounds checks, or inlining: ```sh -go install -a -trimpath -gcflags=all="-l -B -e" -ldflags "-s -w" codeberg.org/luxferre/clyx/...@latest +go install -a -trimpath -gcflags=all="-l -B -e" -ldflags "-s -w" code.luxferre.top/luxferre/clyx/...@latest ``` This will install the executables as `clyx` and `clyxc` into your `$GOPATH/bin` directory. To upgrade to the latest versions at any time, simply run the same command again. @@ -134,11 +134,11 @@ To package your program, you can use the `clyxc` utility. #### Installing `clyxc` Install the utility directly from Git (this also installs the main `clyx` binary): ```sh -go install codeberg.org/luxferre/clyx/...@latest +go install code.luxferre.top/luxferre/clyx/...@latest ``` Or to install only the compiler utility: ```sh -go install codeberg.org/luxferre/clyx/clyxc@latest +go install code.luxferre.top/luxferre/clyx/clyxc@latest ``` Alternatively, if compiling locally from the repository root: ```sh @@ -179,7 +179,7 @@ The [examples](examples/) directory contains several simple examples of Clyx pro ### Where does the name Clyx originate from? -Similarly to [LVTL](https://codeberg.org/luxferre/lvtl-x) and [LTTB](https://codeberg.org/luxferre/lttb), the prototype of Clyx had been called LPLF (Luxferre's Pointer-Less Forth). However, as the finalized language began to differ from the Forth standard in too many ways, a decision was made to focus on the concatenative nature itself. Thus, the word ConCat had been chosen, which was quickly modded into ConLynx and then naturally shortened to Clyx. +Similarly to [LVTL](https://code.luxferre.top/luxferre/lvtl-x) and [LTTB](https://code.luxferre.top/luxferre/lttb), the prototype of Clyx had been called LPLF (Luxferre's Pointer-Less Forth). However, as the finalized language began to differ from the Forth standard in too many ways, a decision was made to focus on the concatenative nature itself. Thus, the word ConCat had been chosen, which was quickly modded into ConLynx and then naturally shortened to Clyx. Additionally, this name can be viewed as an acronym hinting at the order some binary operations pop their operands from the stack: "Compute by Loading Y, then X". diff --git a/clyxc/main.go b/clyxc/main.go index 014814f..64bcca9 100644 --- a/clyxc/main.go +++ b/clyxc/main.go @@ -99,7 +99,7 @@ func main() { clyxBin, err := os.ReadFile(clyxPath) if err != nil { - fmt.Fprintf(os.Stderr, "Error: Clyx interpreter binary not found at %s. Please install it first using: go install codeberg.org/luxferre/clyx@latest\n", clyxPath) + fmt.Fprintf(os.Stderr, "Error: Clyx interpreter binary not found at %s. Please install it first using: go install code.luxferre.top/luxferre/clyx@latest\n", clyxPath) os.Exit(1) } diff --git a/go.mod b/go.mod index 083dfa0..8e66dbc 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module codeberg.org/luxferre/clyx +module code.luxferre.top/luxferre/clyx go 1.26.4 diff --git a/main.go b/main.go index 6a09bef..c09c8db 100644 --- a/main.go +++ b/main.go @@ -11,7 +11,7 @@ import ( "os" "strings" - clyx "codeberg.org/luxferre/clyx/clyx-go" + clyx "code.luxferre.top/luxferre/clyx/clyx-go" ) //go:embed lib.clx