Example of the GOV Programming-Language.pdf

From MicroCommons
Jump to navigation Jump to search

Exᴀᴍᴘʟᴇ ᴏꜰ ᴛʜᴇ GOV Pʀᴏɢʀᴀᴍᴍɪɴɢ-Lᴀɴɢᴜᴀɢᴇ

v.:0.3.1

Note: the following is written in Theodian English.

 1    0   START: GLOSSARY;
 2        0   SECCION: CALLS;
 3            0   CALL: "The Constitucion of the Kyngdom of Theodia" v.:2.0.0 As “Constitucion”;
 4        1   SECCION: PRECEDER_KEYS;
 5            0   _DESCR; This value should be a descripcion of the item in question (precedes
 6                others)
 7            1   _NAME; This should be the name of the item in question (precedes others)
 8        2   SECCION: NORMAL_KEYS;
 9            0   BACKING; This value should be what the currency is backed-by
10            1   JURISDICCION; This value should be the jurisdiccion of the item
11            2   RATE; This value should be the rate of interest/demurrage imposed on the
12                currency
13            3   REGULACION; This value dictates whether the currency should be regulated (if
14                yes, then by whom)
15        3   SECCION: FUNCCIONAL_KEYS;
16            0   IF; The first part of a condicional statement
17            1   THEN; If the first part of the condicional statement is true, then do this
18            2   ELSE; If the first part of the condicional statement is false, then do this
19        4   SECCION: DEFINICIONS;
20            0   DEFINE: GDP-fiat: (1) a fiat currency whose value is based-upon the country's
21                GDP divided by how many units of currency exist
22    1   END: GLOSSARY;
23    
24    2   START: Currency;
25        0   SET: Nacional Currency;
26            0   _DESCR : This is the currency that will be used as the backing of the regional
27                currencies;
28            1   _NAME : Theodian Decim;
29            2   BACKING : Other currency, GDP fiat;
30            3   JURISDICCION : Theodia;
31            4   RATE : Within ±5% of the {Constitucion\Currency\Nacional Currency\NAME|Noun } 's
32                rate of inflacion/deflacion;
33            5   REGULACION : Currency-board;
34        1   END: Nacional Currency;
35        2   SET: Regional Currency;
36            0   _DESCR : This is the currency that will be used in each region of Theodia;
37            1   _NAME : {Region\NAME|Adj } Decim;
38            2   BACKING : Other currency, GDP fiat;
39            3   JURISDICCION : Regions;
40            4   RATE : -0.25% to -1.25% per day;
41            5   REGULACION : Currency-board;
42        3   END: Regional Currency;
43    3   END: Currency;
44    


Normal (the meanings of this and the above are quite equal, but the point that normally, legal text can be difficult to
interpret, remember, etc. is still made):
The nacional currency of the Kyngdom of Theodia will be called the Theodian Decim. Its value will be adjusted by a
currency-board. It will be either backed by another country's currency or fiat per Theodia's GDP.
Every region in Theodia will have its own regional currency, which will be backed by the Theodian Decim and
controlled by a currency-board. These must have a demurrage-tax of between 1% and 10%, adjustable by the
currency-board.


Benefits of GOV: It keeps data simple, easy, accurate, concise, and organized, all while making it difficult to forget things. As it is
meant to be parsed by man, the funccions may be invented on the spot, so long as they are entered-into the glossary.
It is more difficult to convolute/bloat GOV-scripts than it is to convolute/bloat plain English. You won’t need to
spend thousands of dollar on interpretation and court-cases to figure-out how to get it work. Laws written in GOV
won’t take ten years to figure-out like some American laws. It basically rtakes all of the important points and bullet-
points them. This innovation could really improve the state of law and consequently our lives in the 21st century.


Drawbacks of GOV: It takes a lot more time to use properly than plain English does. It also takes-up more space. It uses colour-ink. But
for the most part, it simply requires that you not be lazy.


License: Old BSD Copyright (c) 2011, Miles Bradley Huff
All rights reserved.
Redistribucion and use in source and binary forms, with or without modificacion, are permitted provided that the
following condicions are met:
1. Redistribucions of source code must retain the above copyright notice, this list of condicions and the following
disclaimer.
2. Redistribucions in binary form must reproduce the above copyright notice, this list of condicions and the
following disclaimer in the documentacion and/or other materials provided with the distribucion.
3. All advertising materials mencioning features or use of the GOV programming language must display the
following acknowledgement: This product includes the "GOV" programming language developed by Miles Bradley
Huff.
4. Neither the name of GOV's creator nor the name(s) of its contributor(s) may be used to endorse or promote
products derived from the GOV programming language without specific prior written permission.
THE GOV PROGRAMMING LANGUAGE IS PROVIDED BY MILES BRADLEY HUFF AS IS AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
MILES BRADLEY HUFF BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPCION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THE GOV PROGRAMMING
LANGUAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


Sweyn78 (Mr. Miles Bradley Huff); Copyright © 2011, Creative Commons Attribution-ShareAlike 3.0 Unported License