cr_D

所属分类:collect
开发工具:D
文件大小:0KB
下载次数:0
上传日期:2022-02-25 12:17:18
上 传 者sh-1993
说明:  D中的隐秘解析器,
(Cryptic Resolver in D,)

文件列表:
.editorconfig (526, 2022-02-25)
LICENSE (1065, 2022-02-25)
build-linux.sh (1064, 2022-02-25)
build.ps1 (2165, 2022-02-25)
dub.json (303, 2022-02-25)
dub.selections.json (64, 2022-02-25)
install/ (0, 2022-02-25)
install/cryptic-resolver.json (865, 2022-02-25)
install/i-template.sh (955, 2022-02-25)
install/i.sh (953, 2022-02-25)
source/ (0, 2022-02-25)
source/cr.d (14334, 2022-02-25)
test/ (0, 2022-02-25)
test/a.d (227, 2022-02-25)
test/b.d (89, 2022-02-25)
test/c.d (136, 2022-02-25)
test/d.d (215, 2022-02-25)
test/e.d (296, 2022-02-25)
unittest.ps1 (37, 2022-02-25)

**Cryptic Resolver in D** [![GitHub version](https://badge.fury.io/gh/cryptic-resolver%2Fcr_D.svg)](https://badge.fury.io/gh/cryptic-resolver%2Fcr_D)
**NOTE: I'm no longer maintaining this D version cr, because it's a very trivial work to implement a tool with different languages same time myself. Every time on an update in Cr in Ruby, I'll move the new functions here in D or Go. Extremely fussy work must be done to transpile a dynamic programming way to a strict and stiff way. Although I prefer D very much, I feel exhausted switching between languages. If you are interested in it, you can fork it.** This command line tool `cr` is used to **record and explain cryptic commands, acronyms and so forth** in daily life. The effort is to study etymology and know of naming conventions. Not only can it be used in the computer filed, but also you can use this to manage your own knowledge base easily.
## Default Dictionaries - [cryptic_computer] - [cryptic_common] - [cryptic_science] - [cryptic_economy] - [cryptic_medicine]
## Install On Windows ```bash scoop install "https://raw.githubusercontent.com/cryptic-resolver/cr_D/main/install/cryptic-resolver.json" ``` On Linux ```bash bash -c "$(curl -fsSL https://raw.githubusercontent.com/cryptic-resolver/cr_D/main/install/i.sh)" ```
Or just manually install from the [releases](https://github.com/cryptic-resolver/cr_D/releases) page. Tested well on `Windows 11` and `Ubuntu`. Note: You can build it for yourself on macOS
## Why The aim of this project is to: 1. make cryptic things clear 2. help maintain your own personal knowledge base rather than 1. record the use of a command, for this you can refer to [tldr], [cheat] and so on.
# Usage ```bash $ cr emacs # -> Emacs: Edit macros # -> # -> a feature-rich editor # -> # -> SEE ALSO Vim $ cr -u # -> update all dictionaries $ cr -u https://github.com/ccmywish/d_things.git # -> Add your own knowledge base! $ cr -h # -> show help ```
## Implementation `cr` is written in pure **D**. You can implement this tool in any other language you like(name your projects as `cr_Python` for example), just remember to reuse our [cryptic_computer] or other dictionaries which are the core parts anyone can contribute to. For dictionary and sheet layout, you can always refer to [cr] in Ruby, the reference implementation. ## cr in D development This is built in D v2.098(You need Visual Studio on Windows first) maybe you need `sudo` access - `dub init` - `dub add toml` to add dependency - `dub` to install all dependecies and build then run - `dub -- emacs` to test with arguments - `dub --force -- emacs` to force rebuild - `rdmd source/cr.d` - `./unittest.ps1` - `./build.ps1`
# LICENSE `cr` itself is under MIT Official [default sheets](#default-sheets) are all under CC-BY-4.0 [cr]: https://github.com/cryptic-resolver/cr [cryptic_computer]: https://github.com/cryptic-resolver/cryptic_computer [cryptic_common]: https://github.com/cryptic-resolver/cryptic_common [cryptic_science]: https://github.com/cryptic-resolver/cryptic_science [cryptic_economy]: https://github.com/cryptic-resolver/cryptic_economy [cryptic_medicine]: https://github.com/cryptic-resolver/cryptic_medicine [tldr]: https://github.com/tldr-pages/tldr [cheat]: https://github.com/cheat/cheat

近期下载者

相关文件


收藏者