37 Star 238 Fork 35

GVP墨客实验室 / 墨干理工套件

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
hunspell.scm 1.12 KB
一键复制 编辑 原始数据 按行查看 历史
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; MODULE : hunspell.scm
;; DESCRIPTION : Hunspell Binary plugin
;; COPYRIGHT : (C) 2024 Darcy Shen
;;
;; This software falls under the GNU general public license version 3 or later.
;; It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
;; in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(texmacs-module (binary hunspell)
(:use (binary common)))
(define (hunspell-binary-candidates)
(cond ((os-macos?)
(list "/opt/homebrew/bin/hunspell"
"/usr/local/bin/hunspell"))
((os-win32?)
(list ))
(else
(list "/usr/bin/hunspell"))))
(tm-define (find-binary-hunspell)
(:synopsis "Find the url to the hunspell binary, return (url-none) if not found")
(find-binary (hunspell-binary-candidates) "hunspell"))
(tm-define (has-binary-hunspell?)
(not (url-none? (find-binary-hunspell))))
(tm-define (version-binary-hunspell)
(version-binary (find-binary-hunspell)))
C++
1
https://gitee.com/XmacsLabs/mogan.git
git@gitee.com:XmacsLabs/mogan.git
XmacsLabs
mogan
墨干理工套件
branch-1.2

搜索帮助