Translated to Markdown from this ancient TeX file. I’m not sure who made the original.
Hover over a link to see the place structure. Click it to view gismu info on Wiktionary.
girzu(group)
Translated to Markdown from this ancient TeX file. I’m not sure who made the original.
Hover over a link to see the place structure. Click it to view gismu info on Wiktionary.
girzu (group)This is a brief introduction to Lojban, a constructed human language. It has a very nice, fun, regular grammar that computers and humans alike can understand easily.
All Lojban words are either particles (tiny words that help the grammar) or verbs (which tell us how nouns relate).
A Lojban sentence consists of a main verb with a bunch of nouns plugged into it.
A Lojban verb definition looks like this:
| #include <iostream> | |
| #include "borrow_checker.hpp" | |
| int main() | |
| { | |
| auto i = 42; | |
| // borrow `i` under name `ref` | |
| borrow_var(ref, i) |
| { | |
| "presets": [ | |
| { | |
| "Name": "Major", | |
| "Value": "1;3;5;6;8;10;12", | |
| "Group": "Common" | |
| }, | |
| { | |
| "Name": "Minor", | |
| "Value": "1;3;4;6;8;9;11", |
| function varIntBytes(v) { | |
| const r = [v & 0x7f] | |
| while ((v >>= 7) > 0) { | |
| r.unshift(0x80 + (v & 0x7f)) | |
| } | |
| return r | |
| } |
| /* ebnf file for es 6 - MAY CONTAIN ERRORS / DISAMBIGUITY */ | |
| Grammer::= Statement | |
| /* Lexical grammer */ | |
| SourceCharacter ::= #x0000-#x10FFFF | |
| InputElementDiv ::= WhiteSpace | LineTerminator | Comment | CommonToken | DivPunctuator | RightBracePunctuator | |
| InputElementRegExp ::= WhiteSpace | LineTerminator | Comment | CommonToken | RightBracePunctuator | RegularExpressionLiteral | |
| InputElementRegExpOrTemplateTail ::= WhiteSpace | LineTerminator | Comment | CommonToken | RegularExpressionLiteral | TemplateSubstitutionTail | |
| InputElementTemplateTail ::= WhiteSpace | LineTerminator | Comment | CommonToken | DivPunctuator | TemplateSubstitutionTail | |
| WhiteSpace ::= "<TAB>" | "<VT>" | "<FF>" | "<SP>" | "<NBSP>" | "<ZWNBSP>" | "<USP>" |
| /* | |
| * CSS Properties | |
| * http://ref.openweb.io/CSS/ | |
| **/ | |
| .properties { | |
| align-content: value; | |
| align-items: value; | |
| align-self: value; |
| #![feature(plugin)] | |
| #![plugin(dynamic_gen)] | |
| extern crate dynamic; | |
| use dynamic::Object; | |
| #[protocol] | |
| trait Pet { | |
| fn speak(&self) -> String; | |
| } |
| ;; Simple TCP echo server in x86_64 assembly, using Linux syscalls | |
| ;; | |
| ;; nasm -felf64 -o server.o server.asm | |
| ;; ld server.o -o server | |
| ;; ./server | |
| ;; | |
| global _start | |
| ;; Data definitions |