Skip to content

Instantly share code, notes, and snippets.

View youxkei's full-sized avatar

Hisayuki Mima youxkei

View GitHub Profile
import std.algorithm : map, each;
import std.conv : to;
import std.range : retro, zip, iota, cycle;
import std.array : array, join;
import std.functional : adjoin;
import std.stdio : writeln;
void main()
{
static immutable ERUTASO = ["えー", "びー", "しー", "でぃー", "いー", "えふ", "じー", "えいち", "あい", "じぇー", "けー", "える", "えむ", "えぬ", "おー", "ぴー", "きゅー", "あーる", "えす", "てぃー", "ゆー", "ぶい", "だぶりゅー", "えっくす", "わい", "ぜっと"];
import std.meta : AliasSeq;
mixin template assertThat(string lhs, alias matcher, string file = __FILE__, ulong line = __LINE__)
{
int UNUSED_VARIABLE = ()
{
import core.exception : AssertError;
import std.string : join;
string[] errors;

ロジバンで心ぴょんぴょんしたい

この記事はAizu Advent Calendar 2015の8日目の記事です。ロジバンでいかに心がぴょんぴょんすることを伝えるかについて考えていきます。

ロジバンとは?

ロジバンとは、人間同士のコミュニケーションのための人工言語です。

  • 自然言語ではなく述語論理を元に文法が作られている。
  • 構文に曖昧さが無い。
  • 話者の態度、感情を表す単語(心態詞)がある。
  • 音(音素)と文字が完全に対応している。