From 2967ca9d746bdc8b13ac3138f4ded1c6b23ab945 Mon Sep 17 00:00:00 2001 From: Annwan Date: Thu, 29 Aug 2024 19:59:33 +0200 Subject: [PATCH] Did stuff --- Makefile | 4 ++ grammar/Makefile | 9 +++- grammar/main.tex | 137 ++++++++++++++++++++++++++++++++++------------- 3 files changed, 110 insertions(+), 40 deletions(-) diff --git a/Makefile b/Makefile index 8467993..d87661c 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,6 @@ all: @$(MAKE) -C grammar all +clean: + @$(MAKE) -C grammar clean +deepclean: + @$(MAKE) -C grammar deepclean diff --git a/grammar/Makefile b/grammar/Makefile index 34efeb0..d4aab2b 100644 --- a/grammar/Makefile +++ b/grammar/Makefile @@ -1,4 +1,9 @@ -.PHONY: all +.PHONY: all clean all: main.pdf -main.pdf: main.tex main.aux +main.pdf: main.tex latexmk -xelatex main -interaction=nonstopmode +clean: + latexmk -c main + +deepclean: clean + rm -f main.pdf diff --git a/grammar/main.tex b/grammar/main.tex index ff79a9a..6e3cc9d 100644 --- a/grammar/main.tex +++ b/grammar/main.tex @@ -3,11 +3,7 @@ \documentclass{article} \usepackage{fontspec} -\setmainfont{Minion 3}[ - Script=Latin, - Script=Greek, - Script=Cyrillic -] +\setmainfont{Andika}[StylisticSet = 13] \setmonofont{Iosevka}[ Scale=MatchUppercase, CharacterVariant={99:8} @@ -34,6 +30,7 @@ \setlength\parindent{0ex} \begin{document} +\thispagestyle{empty} \topskip0pt \vspace*{\fill} \begin{center} @@ -43,8 +40,14 @@ {\docdate} \end{center} \vspace*{\fill} -\clearpage\tableofcontents -\clearpage\section{Presentation} +\clearpage +\setcounter{page}{1} +\def\thepage{\Roman{page}} +\tableofcontents +\clearpage +\setcounter{page}{1} +\def\thepage{\arabic{page}} +\section{Presentation} \Clong is the language of telephone exchanges @@ -65,31 +68,52 @@ Here is a table of DTMF tones for reference. \end{tabular} \end{center} -\section{Units of meaning -- Packets} +\section{Units of speach -- Packets} + +Linguistic information is encoded into packets. A packet is of the following +form +\begin{description} +\item[Recipient Identification] is a complete international phone number without + the national escape (length is variable, but numbers are prefix-unique). The + number \z{\#} is used for broadcast. +\item[Sender Information] is a complete international phone number without the + national escape (length is variable, but numbers are prefix-unique). +\item[Sequence number] The number of packets transmitted previously between + the two parties (so that they may be reordered if the arrive out-of-order). + (over 3 tones decimal) +\item[Packet Type] one tone + \begin{description} + \item[\z1] Semantic packet + \item[\z\#] Litteral string + \item[\z*] Grammar packet + \item[\z0] Continuation + \end{description} +\item[Data Length] 2 tone decimal, in tones, less than or equal to 32. +\item[Data] contents of the packets +\end{description} -Semantic information is encoded into packets. A packet can be of 5 types: {\bf -Semantic}, {\bf Proper Noun}, {\bf Syntactic}, {\bf Continuation} and {\bf -Variable}. A packet is a sequences of coniguous tones surrounded by blanks. -additionally individual packets have a maximal length of 20 tones. If a -packet's information would exceed that length limit, the extra data shall be -included in one or more continuation packets (see \ref{continuation}). +Should the data of a packet not fit within 32 tones, you shall use a +continuation packet. \subsection{Semantic Packet} -A semantic packet is a packet encoding a concept. It uses the Universal Decimal -Clasification to encode the topics. Numeric values are encoded with their -appropriate digit, dots are encoded with \z*, colons are encoded with \z{\#\#}, double colons are encoded with \z{\#*}, square brackets are encoded with \z{A} and \z{B}, parens are encoded with \z{C} and \z{D}, plus is encoded as \z{\#A}, slash is encoded as \z{\#B}, star is encoded as \z{\#C}, quote is ecoded as \z{\#D}, dash is encoded as \z{\#0} and equals is encoded as \z{\#1}. +A semantic packet is a packet encoding a concept. Its format is that of the +Universal Decimal Clasification with the periods omitted to encode the topics. +Numeric values are encoded with their appropriate digit, colons are encoded as +\z{C*}, parens are encoded as \z{A*} and \z{A\#}, brackets are encoded as \z{B*} +and \b{B\#}, quotes are encoded as \z{C\#}, dash is encoded as \z{D*}, equals is +encoded as \z{D\#} and plus is encoded as a lone \z\#. -A reference to a variable (see \ref{variables}) is to be included in between \z{**}. The variable prefix is omitted in that use. +A reference to a variable (see \ref{variables}) is to be included in between \z{*}. -Non-UDC notation is to be included as a variable refering to a proper noun representing the string to be included and with the qualifier of \z{*}. +Non-UDC notation is to be included as a variable refering to a litteral string +containing the data to be included. An abbriged summary of the UDC classification containing every topic number and every construct used in the examples and the translation is available in Apendix \ref{udcsummary}. A more complete summary is available online at \url{https://udcsummary.info/}. The full specification can be obtained from the UDC consortium (by paying a substantial amount of money) or can probably be consulted at your nearest library. -\newpage -\subsection{Proper Nouns} +\subsection{Litteral string packets} -A proper noun packet is encoded as follows: +The Data of a proper noun pack \begin{enumerate} \item Two Stars (\z{**}) \item The length of the encoding of the proper noun in tones, expressed as an @@ -185,12 +209,7 @@ bit like pronouns but can refer to any construct of the language. They are formed by two Octothorpes followed by the identifier of the variables composed of up to 18 digits. -\section{Actually communicating -- Flow control and error correction} - -The packets previously documented are only the encapsulated semantic meaning of -language. An actual conversation would use the following flow control language: - -A discussion is initiated by a +\section{Ordering things around -- Syntax} \section{Sample Texts} @@ -250,16 +269,28 @@ thine humanity: There are no politics in real life. trans | ppn | \nf``Tian'' | cont | cont *#0#0#0#0#0#6#1*44* | *#0#0#0#0#0#0#0#6C5 | *1 | *2A | - | - - cont|cont|assert|ntrans|\nf prohibition/cosmetic:[silence+restraint]|\nf beset + cont|cont|assert|ntrans|\nf prohibition::apearance::[silence+restraint]|\nf beset - | - - \nf[side:lesser]/[origin:light]:invisible | \nf fight - -5} + \nf[side::lesser]::[origin::light]::invisible | \nf fight + } + +For Ngu, a slave to creativity, shall make inspection and certification prior to +confirmation of Nahva Guns’ official status. + +Deny thine humanity. + +There are no politics in real life + +} + \appendix \def\thesubsubsection{\arabic{subsubsection}} -\clearpage\section{EBCDIC Code Page 803} +\clearpage +\setcounter{page}{1} +\def\thepage{\roman{page}} +\section{EBCDIC Code Page 803} \label{ebcdic} {\setmainfont{Iosevka}\def\arraystretch{1.25}\begin{center} \def\s#1{\footnotesize\itshape\bfseries #1} @@ -270,11 +301,11 @@ thine humanity: There are no politics in real life. \bf 2x&\s{PAD}&\s{HOP}&\s{BPH}&\s{NBH}&\s{IND}&\s{LF}&\s{ETB}&\s{ESC}&\s{HTS}&\s{HTJ}&\s{VTS}&\s{PLD}&\s{UP}&\s{ENQ}&\s{ACK}&\s{BEL}\\ \bf 3x&\s{DCS}&\s{BU1}&\s{SYN}&\s{STS}&\s{CCH}&\s{MW}&\s{SPA}&\s{EOT}&\s{SOS}&\s{SGCI}&\s{SCI}&\s{CSI}&\s{DC4}&\s{NAK}&\s{PM}&\s{SUB}\\\hline \bf 4x& \s{SP} &&&&&&&&&&\$&.&<&(&+&|\\ - \bf 5x&\h א&&&&&&&&&&\h לי֞&*&)&;&¬\\ + \bf 5x&\h א&&&&&&&&&&!\h לי֞&*&)&;&¬\\ \bf 6x&-&/&&&&&&&&&&,&\%&\_&>&?\\ - \bf 7x&&&&&&&&&&&:&\#&@&'&=&"\\\hline + \bf 7x&&&&&&&&&&&:&\#&@&\textquotesingle&=&\textquotedbl\\\hline \bf 8x&&\h ב &\h ג &\h ד &\h ה &\h ו &\h ז &\h ח &\h ט &\h י &&&&&&\\ - \bf 9x&&\h ך &\h כ &\h ל &\h ם &\h מ &\h ן &\h נ &\h ס &\h ע &&&&&&\\ + \bf 9x&&\h ך &\h כ &\h ל &\h ם &\h מ &\h ן &\h נ &\h ס &\h ע &&&€&&\h ₪ &\\ \bf Ax&&&\h ע &\h ף &\h פ &\h ץ &\h צ &\h ק &\h ר &\h ש &\h ת &&&&&\\ \bf Bx&&&&&&&&&&&&&&&&\\\hline \bf Cx&&A&B&C&D&E&F&G&H&I&&&&&&\\ @@ -290,13 +321,30 @@ thine humanity: There are no politics in real life. {\setcounter{subsubsection}{-1} \subsubsection{Science and Knowledge, Organisation, Computer Science, Information, Documentation, Librarianship, Institutions, Publications} \subsubsection{Philosophy, Psychology} +\begin{description} + \item[11183] Truth (Philosophy) + \item[1612223] Truth (Logic) (used a a negation) + \item[17025] Prohibitions (moral obligations and prohibitions) +\end{description} \subsubsection{Religion, Theology} \subsubsection{Social Sciences} +\begin{description} + \item[32] Politics + \item[328] Parliaments. Representation of the people. Governments. + \item[32325] Deny (legal obligations and prohibitions) +\end{description} \subsubsection{\it Unused} \subsubsection{Mathematics, Natural Sciences} +\begin{description} + \item[5308485] light source +\end{description} \subsubsection{Applied Sciences, Medicine, Technology} \subsubsection{The Arts, Recreation, Entertainment, Sport} \subsubsection{Language, Linguistics, Litterature} +\begin{description} + \item[81] Linguistics and Languages + \item[811] Languages +\end{description} \subsubsection{Geography, Biography, History} } \subsection{Auxiliary Signs} @@ -316,10 +364,23 @@ When the colon is used to link auxiliary numbers with biterminal signs (i.e. par \subsubsection*{{\ttfamily *} Introduction of non-UDC notation} \subsection{Auxiliary Numbers} -\subsubsection*{{\ttfamily =...} Common auxiliaries of langauge} \subsubsection*{{\ttfamily (0...)} Common auxiliaries of form} -\subsubsection*{{\ttfamily (1/9)} Common auxiliaries of place} +\begin{description} + \item[(002)] Appearance +\end{description} +\subsubsection*{{\ttfamily (-1/9)} Common auxiliaries of place} +\begin{description} + \item[(-1972)] Under side +\end{description} \subsubsection*{{\ttfamily (=...)} Common auxiliaries of human ancestry, etnic grouping and nationality} \subsubsection*{{\ttfamily "..."} Common auxiliaries of time} +\begin{description} + \item[“311”] in the past, before +\end{description} \subsubsection*{{\ttfamily -0...} Common auxiliaries of general characteristics: Properties, Materials, Relations/Processes and Persons} +\begin{description} + \item[-055] Person + \item[-0551] Male Person + \item[-0556] Person in filial or descendent relation +\end{description} \end{document}