Skip to content

Instantly share code, notes, and snippets.

@matsud224
matsud224 / satysfiadvent2020-satyrographos-package-index.md
Last active January 3, 2024 12:50
satysfiadvent2020-satyrographos-package-index

Satyrographos Package Index の紹介

この記事は SATySFi Advent Calendar 2020 2日目の記事です。

はじめに

SATySFi向けパッケージマネージャとして、na4zagin3さんが開発されたSatyrographosがあり、現時点で40パッケージ以上が登録されています。これまで、パッケージを導入する際は手動でファイルをダウンロードし、適切な場所に配置したりフォントハッシュの更新を行う必要がありましたが、Satyrographosを使えばコマンドひとつ叩くだけで自動で行ってくれます。

大変便利なSatyrographosですが、欲しいパッケージを探すのには少々苦労します。検索やパッケージ情報の表示を行うコマンドにopam searchopam showがありますが、もう少し使い勝手の良いものがほしいです。また、SATySFi Wikiにもパッケージ紹介ページは存在しますが、人力での更新なので情報が古くなっています。このような状況のため、SATySFi Conf 2020でもパッケージ一覧サイトがほしいという要望が出ていました。

そこで、Satyrographosパッケージの一覧表示および検索を行えるWebサイト Satyrographos Package Index (GitHub) を作ってみました。なお、本サイトはあくまで非公式のものです。

Keybase proof

I hereby claim:

  • I am matsud224 on github.
  • I am matsud224 (https://keybase.io/matsud224) on keybase.
  • I have a public key ASA4i7TC4yE4nbZE1bGJpPPrmYLq5lR8IJK-rJJr0CJ-1Qo

To claim this, I am signing this object:

#include <ctype.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
int it = 0; // previous result
char getnonspacechar() {
#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
#include <math.h>
int main(){
while(1){
printf("> ");
printf("%d\n",calc_3());
while(getchar()!='\n');
@matsud224
matsud224 / lispinterp1.c
Created July 3, 2017 09:48
Lispインタプリタその1(勉強会用)
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <setjmp.h>
#if !defined(UNUSED)
# if defined(__GNUC__)
# define UNUSED __attribute__((__unused__))
# else
@matsud224
matsud224 / cell-portobject.oz
Created September 15, 2016 14:04
明示的状態をセルの代わりにポートオブジェクトで(CTMCP 6章あたり)
%セルをポートオブジェクトで表現し、明示的状態を導入
%しかし並列性が必要となる
declare NewPortObject
fun {NewPortObject Init Fun}
Sin Sout in
thread {FoldL Sin Fun Init Sout} end
{NewPort Sin}
end
@matsud224
matsud224 / reversi.lisp
Created September 15, 2016 13:54
ミニマックス法でリバーシ
;;load後、(ltk::main)で実行
#|
(require :asdf-install)
(asdf-install:install :ltk)
|#
(eval-when (:compile-toplevel :load-toplevel :execute)
(require :ltk))
(in-package :ltk)