Library
Library of standard ternary elements of Project 3niti covered by GNU GPL v3:
/* Your Ternary computer 3niti (see http://www.3niti.org for details) * Copyright (C) 2004-2023, Alexander A. Shabarshin <me@shaos.net> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see http://www.gnu.org/licenses/. */
Unary Functions | |
BLN | def BLN T:T "v1.0 Block negative (forward diode)" |
BLP | def BLP T:T "v1.0 Block positive (backward diode)" |
BUF | def BUF T:T "v1.0 Ternary buffer" |
INV | def INV T:T "v1.0 Ternary inverter" |
MEM* | def MEM T:T "v1.0 Ternary memory" |
PRN | def PRN T:T "v1.0 Pull-down resistor (to N)" |
PRO | def PRO T:T "v1.0 Pull-middle resistor (to O)" |
PRP | def PRP T:T "v1.0 Pull-up resistor (to P)" |
Binary Functions | |
SPN | def SPN TT:T "v1.0 Switch P-off N-on" |
Schemes | |
Not yet available... | |
Other | |
HEADER | Header for source files of ternary computer 3niti with GPL notice and T alphabet |
AUTHORS | List of authors' real names with their contact information |
where * means block with memory (may have side-effects) and if you don't see (C) mark in description of element it means element is included here as "public domain" without claiming of any copyrights by its author
Library usage
To use elements from this library just put include command to your online program like this:
(:include Library.NAME:)
where NAME is name of chosen element (do not forget to include Library.HEADER first and any functions and schemes if chosen element depends on it - see Contribute for details)