Jane Compiler Extensions (705)

Take ANY compiler and remove ALL functions, what is left is the compiler...  My objective is to remove the need for functions.  When functions are no longer required then, and only then, will we have a complete compiler. Or to put it another way, we will have a language we can use to communicate with the computer to perform actions. Functions require documentation, the primary objective of "Jane" is to remove the need for documentation. Documentation only provides facts not expertise or craftsmanship, I hope to put these attributes into the system.  This list of enhancements are simple syntax changes to the compiler. The real enhancement is in phrase compilations to reflect reality in our code, which is not listed here.
Show With Examples Only

Enhancements by Year: 2021   2020   2019   2018   2017   2016   2015 

Moving closer to a 100% table driven compiler, single application running across all machines using natural language and multiple computer languages, in all software and hardware environments..

Enhancements (rough ideas, vocabulary and syntax may take 4 or 5 rewrites each, some repeat)  
2021 top
  1. editable logic, A = the logic of delete employee;  alert(A.source code);
  2. extensive color capabilities,   A = red.30% + blue.70%,  A.red as HSL,  B = A as CMYK, C = A as Hue Saturation Brightness (HSB);
  3. no-space,  All words are separated by a space, unless preceded by a no-space indicator.
  4. font generation, screen management, forms, and editor in the compiler
  5. geometric logic,   near, find, inside, fill, DDA (pixelate), intersect, rotate, transform, ...
  6. geometric opcodes:  snap, break, polygon trace, network, connectivity, ...
  7. user defined fonts as part of the editor / compiler
  8. smallest units of information moved to the "word" / "term" category   A = true;  (internally  102,34,342)
  9. Real number precision.   A..precision = 3 decimal places;
  10. Variable alias name assignment,  A or B = 123; 
  11. boolean, true, false or maybe   if (A) then alert(true) else alert(false) otherwise alert(maybe)
  12. event triggers, on change, on reference, on maybe trigger, on...
  13. propagate search along parent / child relations  A = {name:'clif'};  A.B = {age:12},   alert(A.age, B.name)
  14. loop symbolic language,   Summations ∑,  Loop
    2020 top

  16. String functions, compress, compress1,  name = "  apple     orangles  ";  A = name.compress() ;  B = name.compress1();   A = "appleoranges"   B = "apple oranges"
  17. "as" keyword as a classifier,  A = 12 Inches as Height;  box[A.%class] = A;
  18. "of" keyword to describe person, place, or thing  A = 12 boxes of #2 pencils;  B = 7 3/8 inches as height of pencils;
  19. opcode inline function,   opcode math.*([integer,real] as height of pencil, [integer,real] as radius of pencil) with units {...}     A = 7.125 inches as height of pencil; B = 0.5 inches as diameter of pencil; C = A * B;
  20. opcodes container of opcode inline functions by computer language,  opcodes  JavaScript { ... }  opcodes FORTRAN { ... }  opcodes Python { ... }  opcodes C { ... } opcodes x86 { ... }
  21. cast and qualified values in global namespace  A = height of a box of pencils;  B := width of a box of pencils;   A = run-time evaluation    B := compile-time evaluation
  22. dual mode statement execution,  standard statements (emulated) and opcode statements (direct execution)
  23. customizable compilers, encrypt to individual user, selectable compiler executable statements, and alter opcodes per application
  24. disable all compiler statements opcodes not used in an application, (security issues)
  25. opcode selection based on datatype, parentage, classification, and/or units  opcode math:+([integer,real] as height, [integer,real] as width) { ... }  A = (10 ft as width * 30 inches as height) sq feet;  A = 25 sq ft (width: 10 ft, height 2.5 ft)
  26. value to object operator "=<"  A = 30 ft as height;    Pole =< A;    alert(Pole.height);
  27. two type of opcodes,  "native" as compiler level code,  and "script" as a Jane inline function.
  28. logical or operator  if (name == "Clif" or "Collins") ...
  29. rename array length variable to nextAvailable,  add array count variable (sparse arrays required), add to array and object a  keys to return list of keys and indexes
  30. keep the knowledge that an array is sparse.    A = [], A[5] = 6;   if (A is sparse) ...
  31. conditional line and block comments  //Jane only   ..Jane code...        /*Jane only  ...Jane code... */
  32. assume a then condition   if (false) else alert(true); or maybe an if not     if not (false) alert(true);    I would use this while testing, but it would come in handy and still is readable.
  33. return arguments from a new function call   A = new person('Clif Collins')(index);
  34. complex number      x = «13 + 23i»;    x.a = 13;  x.b = 23;
  35. point coordinate N-dimensional point, a vector, or Tensors,      p = «3,45,0»;   p.x = 3,  p.y = 45, p.z = 0   T =  «p,p,p»  recursive Tensor  or Matrix
  36. cached function values. values that once set through a function call remain set for a given set of arguments.   cached function user(name) { ... }   A = user('Clif');   B = user('Clif');     A loads value,  B uses cached value;
  37. change JSON syntax to mirror JavaScript syntax.   A = '{"name":"Clif"}';   A = "{name:'clif'}";   both are valid
  38. change JSON to accept all data types   text = JSON.stringify('Clif Collins');    A = JSON.parse(text);
  39. math addition of undefined or null text is treated as an empty string
  40. formatted text or number functions .left(50), .right(20), .center(20), .currency(20), .comma(20)
  41. Jane function statement defines a function that will be run a Jane service   Jane function devices() { return global.devices() };   or at a specified URL   A = devices() at 'http://CollinsSoftware.com'; 
  42. Jane keyword, to run a function that exists on a Jane service from the client  Jane's drawSphere();
  43. Adam function statement, to run a function that exists on the main application.  Adam function showTable(table) { ... }   showTable(employees);
  44. Adam keyword, to run a function or access variables that exists on the main application from a Jane service  status = Adam's confirm('Keep Looking');
  45. Requester keyword, to run a function or access variables that exists on the calling client.  A = Requester's location;
  46. location statement   location Apple is 'http://myOrchard.com';  B = Apple's prices
  47. where, group by, sort keywords,  A = table where index < 50 sort by name;
  48. validation functions for valid URL, Email, Address, Date, Name, File, Folder, Password;   A = "http://CollinsSoftware/".url;  if (! A) throw "not a valid URL";
  49. multiple datatype values, values that can be have multiple datatypes. An integer that can also be text,  if (typeof(A) == 'string' && typeiof(A) == 'integer') where both are true
  50. differentiate the parts of a URL  [ protocol:// [Address [ Location [ [ domain [ subdomain, domain name ], : port ] ] , path, file ]  ?parameters   #bookmark ]
  51. separate objects into multiple parts, those that are the object from those that are information about the object.
  52. c++ datatypes:  int, double, float, string, char,  bool, double, void
  53. other datatypes: complex, text, date, character, word, phrase,  bits(n),  bytes(n),  integer(n bytes | bits),  whole number(n bytes | bits), imaginary, real, fraction
  54. c++ arrays:  int values[4] = { 1, 2, 3, 4};
  55. c++ dynamic array  int value[*] = {1,2,3,4};   value.push(5);  value[5] = 6;  (maybe index by 1)
  56. c++ output   cout << values[0] << eoln;
  57. c++ union statement,   union A { int x, bits(32) y}
  58. c++ template statement,   template <A,B,C> { ... }   (remove the keyword class and typename keywords not needed)
  59. c++ struct statement,  struct  Car { string Name;  int: Age;  Car(){ ... };  ~Car(){ ... };  void Print() { ... } }   with constructors, destructors, and methods
  60. c++ pointers ???  struct, objects, and arrays are pointers
  61. Jane Name Server, to identify the location and information about all registered remote Jane servers. (propagated to every local Jane server nightly)
  62. Adam is the name for the location of the localhost Jane Service, propagated throughout the network, IP address resolved.  location Adam =
  63. Eve is the name of the location of the Running Application. Permits all satellite Jane services to send requests back to the main application, even when the request come from a nested service.
  64. File structure Object,  B = File Structure url{http://sample.dll};   alert(B.structureNames);   for reading and writing known file binary structures
  65. c++ datatype, structures and union.  overcome JavaScript and C++ size limitations of "string" both in count and character size, and integer size
  66. price and prices datatype,   prices += $1 for 1 or $6 for 10 of cream cheese in US dollars;   A = 34; Total Cost += price of A cream cheeses;
  67. "word problem" compiling.  A = average age of class divided by teacher's salary.
  68. unit opcodes functions, tied to opcode and units:  units_opcode math:* ([amps, ohms], [ohms, amps])  {  ...result volts..}
  69. unit conversion functions, Fahrenheit to Celsius   convert function fahrenheit_to_celsius(A)  { ... }
  70. known unit equations   amps = sqrt( power / ohms) , A = 100 Newton meter/second; B = 45 ohms;  C = amps produced by A and B;
  71. numeric name qualifiers  myList.5 = 'happy';  same as  myList[5] = 'happy';
  72. template functions, change C++ template statement, Run-Time, Based on Argument Types, "smart", template function Apple(a,b) {  <A> count, <B> total ...  }   A = Apple(1,1);  B = Apple('clif',1)
  73. rename "goto" to "continue",  simply permit the continue to go anywhere (maybe do this)
  74. user defined units,  pencils A = 10 pc;  units pencils {scale=1, type=pencils, tag=p};  units pencil boxes {scale=10,type=pencils,tag=pb}, units pencil cartons {scale=240,type=pencils,tag=pc};
  75. searchable, changeable text object, Text, Integer, Real, Date, Object, Array, system independent   A = textObject{`o Fruit `| Apple `v Red Delicious 'e};   B =  A.Fruit;   A.Fruit = 'Pear';
  76. o = Type Name (required), | = new record (Name field)  v=value field t=type field u=units field e=end of object (soft)  (name, value, [type]) type is Optional
  77. toText and toObject functions:  A = "`o Fruit `| Type `v Apple `| Name `v Red Delicious `e";  B = A.Name;  C = A.toObject();   D = {Name: 'Red Delicious'}.toText();
  78. text object nested to any depth. Datatype can be a function name (i.e. the object constructor called when converting to Object).  A = "`o Fruit";  B = A.toObject();  function Fruit () { this.Name = "Apple" }
  79. large text objects are indexed on first random access
  80. Text Binary Array Objects  A = "`o Integer Array `|`v 12;13;14;13 `"  (international use semi -- colon as separator -- free to use comma in real numbers and currency)
  81. Text Array Object A = "`o Array `|  `v Clif `v Rachel `v John `e";   Names are optional, only needed for sparse arrays
  82. mode driven state transition system parameters. Specifically needed for format and nationality mode constants.
  83. compiler syntax shortcut function,  system defined shortcuts: shortcut function "{...}"(value) { return 'new Object(' + value ')'} ;  user defined  shortcut function "╟ ... ╢"(value) { return 'table:{' + value + ' }' }
  84. file AKA, recursive resolve (case insensitive),   aka localHost = 'ws://';  aka  A = 'localhost:scratch/engineering';  B = A:Sample.txt;
  85. temporary global scope global;  global pos, index { ... }   pos and index are global names until the grouped statements are finished or existed, the names are also local to the function
  86. case insensitive variable names. All reserved words are case sensitive.
  87. CELL qualifiedValue,
  88. GRID qualifiedValue,  N-dimensional array of a single datatype.   A = new Grid(cell);
  89. TABLE qualifiedValue,  N-dimensional array of single cell declaration per column.   A = Table:{columns=columns};
  90. COLUMN qualifiedValue,  an array of cell declarations  A = column:{name=name,type=text}
  91. CATALOG castValue
  92. fractions,  A = 1 // 2;
  93. castValue without units,   A = 10 as Height;    units become "units". All operations of unit conversions, then all values musts be of type "units"
  94. Cell FLAGS,  %hidden, %system, %working, %locked, %copy,   A = Fruits[%system].search("someName");  B.Fruits[%copy].parent = window;
  95. qualified IF statement; exists, blank, zero, null, undefined, positive, negative, <class name>   if exists (A) alert(A);  if blank(A)
  96. inline template operator,  #1 =  B + 1;   A = #1;
  97. fraction syntax   A = 1 // 3 ;
  98. expression syntax  A :=  1 / 3 * Angle in Radians;    B =A(angle=45 degrees);

    2019 top

  99. floating point number representation maintained from source. Purpose: to keep accurate data representation when listing and moving source data.
  100. secure transport of information. A modified SSL / TSL connection using Jane. An unpublished rolling encryption scheme. (without public keys)
  101. an append-able source or destination. the "stdin" and "stdout" are two such variables. Web sockets and streams also would also be of this type.
  102. three types of compiled code,  emulated (in a browser), p-code (browser compiled, sent to a service to run), and as an executable (machine instructions, .exe)
  103. math equation programming... program directly in formatted equations. This requires new fonts, encoding, and editors
  104. get rid of operator precedence wherever possible as part of math equations. This is an artificial convention for the human to describe the order in which operations are performed
  105. rational numbers. A = 3 1/3; B = 2/3; C = A + B; D = C / 5;  whole number with remainder over divisor (3 part numbers) plus units
  106. prime numbers: A = prime numbers[1-5]  (2,3,5,7,11) ; prime factors:  B = prime factors of 578;  (2,17,17)
  107. logic over design. Determine all possible requirements for each given data structure. example csv:  columns - minimum/maximum/average size, size/format frequency count, default/user headers/formats/selected, indexes, ...
  108. language syntax from logic, B = the maximum column sizes of A;  C = the column size frequency of A;  D = The row index of A;
  109. Date format:  month day, year hh:mm:ss ampm timezone  A = Jan 3, 2019;  B = January 1, 2019, C = Sept 4 2019 10 AM Zulu;
  110. timer block:  timer{ call translate(); } progress (n, total, percent, duration) { progress.update(percent, duration); } finished (n, total, percent, duration) { progress.stop(); } failed { (n, total, percent, duration)  { }
  111. sub-range replace A = "Clif Collins";  A[5] = "ford L. ";    result "Clifford L. Collins"
  112. sub-range delete A = "C Collins"; A[1:2] = "";  result "Collins"
  113. sub-range insert A = "Clif Collins": A[5*] = "ford" result "Clifford Collins"
  114. sub-range multiple assignment A = "1 2 3 4 5";  A[2,4,6,8] = '-';   result "1-2-3-4-5";
  115. a combined singular and plural object constructor using entry points;  function persons () {  ...   entry person() {     }  }   employees = new persons( );  me = new employees.person('clif');
  116. compound units:  A = 24 barrels of crude oil {carbon:83.4407%, hydrogen:11.3452%, nitrogen:0.1342%, other:*};
  117. text value as double back quotes; A = ``Clif``;  with template qualifiers  B = ``Hello from {name}``;  and qualifier delimiters;  C = `any` Please use double back quotes `` `any`; No escape characters D =``c:\temp\sample.txt``;
  118. minimum foot print compiler for arithmetic and boolean expression evaluations, with extensive and custom variable name resolution capabilities
  119. compiler function use determination.  Can it be determined if a function is to return a value, or work on itself, or BOTH ==>  sort(A); (work on itself) or B = sort(A); (return a result)
  120. extended String Object built-in functions for CSV, JSON, Math and Boolean expression parsing
  121. extended Date Object built-in functions for adding Years, Months, Weeks , Days, Minutes, Seconds, and Milliseconds
  122. extended RegExp Object expressions for extended standard logic and formats dates, addresses, phone numbers, numbers, comments, quotes,...
  123. Compiler generated logic templates... for qualified values,  A = TrueTypeFonts{ arial.ttf }
  124. SQL Select statement in a "for" statement;  for (select table from main.tables where table.name = 'cmap' order by table.name) { ... }
  125. plurals in "for" statements  for (tables) {  alert(table.name) }
  126. replace boolean equality == with single equals sign "=", replace identity equality (triple  equals ===) with "is" ;  if (A = B) and if (A is B)
  127. (mutable) set text attributes by character / range: upper, lower, normal, bold, italic, underline, negate, strike, color, slant, font, size, language, highlight, justified  A[1-4] are red;   A is bold;   Clif Collins
  128. text tab ruler,  left and right margins, tab column setting and justification: left, right, center, period. A..ruler = ruler{ units=inches, margin-left=0.5, margin-right=7, tabs=(1,3,5:center)};  A..value = "Clif\tCollins\tHouston"; alert(A);
  129. text reference A = "Clif Collins";  B = A..value;  B += " is a dummy";  B is an Object so it can be passed as an argument to change A,  A is now "Clif Collins is a dummy"
  130. SQL statement to work on Arrays, Object, Tables, Matrix, and Qualified Values,   a = Select * from csv{ file{employees.csv}} order by name;
  131. Numeric Accuracy, define the standard uncertainty of a constant,  h = 6.6260693(±11)E-34 joule * second;  // Planck's constant
  132. Indirect Addressing; A = "Clif"; B = %reference(A);
  133. Value sub-range A[min-max,...]  B = A[new bits(0,5,2,7)]; A[insert(1)] = "Clif", B = A[row(1)]; C = A[range(1:1,3:4)]; D = A[column(1)]; E=%ref(A[rows(1-5,8),columns(2-3),D3(4,6)])
  134. storage declaration; A:Integer:1 = 2;  A:CountingNumber:2 = 1; A:WholeNumber:4 = 1; A:real:8 = 1;  A:date:{year:Integer:2,month:wholeNumber:1,day:wholeNumber:1} = Jan 1, 1989
  135. N-dimensional reference A[1,1,4]
  136. Sub-Range Reference A{1:5,7}
  137. Content Reference, row(n), column(n),  A{name='clif'}  B = A{rows{2:5},columns{1:4,7}}
  138. keyword bracket reference, first, last, middle, random, next , insert(n), compressed(0), compressed(1), trim  B = A[first];   A[insert(5)] = "Apple";
  139. Assignment and non-assignment function reference,  A.sort();  B = A.sort();  A.sort = function sort() { };  A.sort = subroutine sort(){ };
  140. Object assignment entry point.  A = new person$();  A = 'clif collins';   function person$() { ...  entry on.assignment(value) { ... } }
  141. Flow control: asynchronous function calls -- function-name.wait(...);  wait for sync or async function to finish
  142. Flow control: wait function;  wait(time); delay execution
  143. Flow control: refresh function; refresh();  same as wait(0);
  144. Flow control: parallel asynchronous function calls -- function-name.continue(...); multiple statements then,  waitForEvents(timeout)
  145. Flow control: flow between functions --  reenter entry-name(...) to caller  resume (...) to statement after reenter, resume entry-name(...) to a named enter point.  With out without arguments
  146. Flow control: try catch recovery -- try { ...} catch (e,...) {  resume('ok') }  ...  result =  throw('error');
  147. Internal property variables; .%value(address of value (read / write) ,  .%type (value type read / write) , .%units value units (read / write) , .%events (array of events),  .%allocated (memory allocation (read / write)
  148. internal property %inf (if not found) to replace the __proto__ object, the name resolution linked list
  149. internal property %length to reference / replace the Array Length, Move all of the internal information out of the name resolution of the primary cell.
  150. extend closure to include function entry points, not just sub-functions, A = test();  A.next();  function test() { count = 0; return test;  entry next();  alert(++count);  }
  151. function properties; test = 0; while (test(count)) {....}  function test () { count = 0;  property set (value) { count = value; }  property get() { if (count <= 0 return false; return true,++count;  }  }
  152. object constructor property get and set;  A = new test('apple');  A = 'clif'; alert(A);  function test(name) { this.name = name; return; property set(value) { this.name = value; }  property get() { return this.name; } }
  153. object constructor call property; A = new test(); B =  A('get count') ;function test() { this.count = 1; property  call(command) { if (command == 'get count') return this.count };
  154. object constructor assign property; A = new test();  A = 'Hello World'; function test() { property assign(value) {  this.name = value; }
  155. named arguments  A(name='clif', type=32)  function A(type, name) { ... }
  156. Using closure to create a "class";     A = test();  A.hello();   function test()  {  name = 'Clif'; return test;   function hello() { alert(name) } }
  157. Permit a "class" to be treaded as an "object"   A = text();  A.anotherValue = 10;
  158. do forever statement;  do forever { ... }
  159. qualified value's functions, use a flattened name space for the entire nested qualified values structure
  160. default assignment statement, conditional assignment only if existing value is null, undefined, blank, of zero,  default size = 10;
  161. rename "do" and "for" statement to "repeat" statement, the words "do" and "for"  do not explicitly imply "repeat"  (maybe not in all cases ???)
  162. dual Qualified Value replacement text, «...» for immediate value substitution (when assigned), and ‹...› delayed value replacement (during evaluation)
  163. declare statement of 1 or more variables, declare A,B,C as {size=8 bits, type=whole number, allocate{increment=4000 bytes, preallocate=0 bytes, Maximum Size=infinite}, units=feet, dimensions{rows{}, columns{}}}
  164. "declare" qualified value, integerArray = declare{type=integer, size=64 bits, dimensions{rows{}}};  declare A as integerArray;
  165. remap and union a variable,  B = A.%value as {type=16 bits};  A and B tied together with the same values in 2 different structures (synchronized by the system)
  166. copy and remap a variable B = A as {type=16 bits};  B is a Copy of A in a different structure
  167. never abbreviate anything
  168. qualified value content:   name{~~ ...text anything.... ~~}  or  name{content{~~...text anything...~~}, ...}
  169. qualified value assignment values and nested qualified values  name{value_1=...,  value_2=..., nested{...}, ...}
  170. flow control -- interrupts, standalone functions that get called immediately upon hardware and software interrupts.   interrupt mouse (event) { ... }  interrupt network(event);  interrupt timer(event);
  171. change conditional equality from "==" to "="  add conditional (aliases)  "equals" or "==", "and" for &&, "or" for || , "xor" for "~", "not" for "!";   if (a = b) ...;  c = a equals b;
  172. list conditionals; if (A in [2,4,32])...,  if (A not in [5,6,7])...
  173. alias conditionals  "is identical to" alias for "==="  if (A is identical to B) ,  "is not identical to" alias for "!==",  if (A is not identical to B) ...
  174. add conditional "is"  if (A is B) same object,  leave "=" for value equality and for assignment
  175. logical assignment statement, compile time and run time:    A = logical (a = b); (compile time)     A = logical ("a = b"); (run time)  -- arguments 2 & 3:  on search, and search object with __proto__
  176. arithmetic assignment statement, compile time and run time:  A = math(a * 55); (compile time)   A = math("a * 55"); (run time)  -- arguments 2 & 3:  on search, and search object with __proto__
  177. programming font -- soft (contained in the document) and hard (controlling the document) control characters, unique comment characters,    Line comment...  and    ...Block comment...
  178. alias statement,  F = alias require one [form, canvas, popup] of type "qvalue" this is an assignment statement, selection, and an exception if it fails (does not exists, only one, or not of the specified type)
  179. alias statement qualifiers, unique, first, last, random, one, required
  180. bind statement is to treat multiple cells as one entity with non-unique names
  181. union statement is to treat multiple arrays as one with unique names for objects and continuous index.
  182. remote values, values and functions accessible on demand, A = localhost.Employees;  B = wait for select * from A where name='clif';  server based logic, pause until complete or not (a separate thread or process)
  183. remote buffering, values can be declared as remote single or multiple buffered on the localhost or on a remote server:  declare A as {type=text, allocation{ on=localhost, buffered=4 KB, buffer count=3}};  A = space(5 TB);
  184. qualified values used, unused and orphan reference parameters;  A = sample{A=1, B=2, C=3};     alert(A.%not referenced, A.%not used, A%orphaned);
  185. qualified values variable names are case insensitive, style insensitive:  B = A{Pie Type = Apple}  alert(B.pie_type, B.Pie Type, B['p-i-e t-y-p-e'], B.PIETYPE); all spelling and syntax the same
  186. E of type E,  extract all values of a specified type from a cell;  A = [1,2,3,"A","B"] of type "string";   if (A[0] of type "number") ...
  187. E = E(name) join E(name);  C = (A.B_key join B.B_key).C_key join C.C_key  alert(C);  left join, right join, full join, inner join
  188. JavaScript Array, change sparse storage structure and length value,  A = [];  A[5] = "clif";   A.length is equal to 6; one plus highest numeric index, change to "A.availableIndex" (6) and "A.length" to number of elements (1)
  189. read,  A = file{"c:/temp/sample.data"};  B = A;      A = url{"./sample.data"};  B = A;
  190. write, A = file{"c:/temp/sample.data"};  A += "Hello World";
  191. subscripts in programming.   R1 = 123,  Ai = "Apple", Bij = 45;
  192. relative numbers and offsets,  A[i] = ++10;
  193. for in statement optional "key and value" in arrays and objects   A = {first_name:'clif',last_name:'Collins'};   for (name, value in A) { alert(name + ' = ' + value) };    for (index, value in [5,4,3,2,1]) { ...}
  194. for in statement optional "key, character and number"  for text values for (index,char,num in 'Clif') { ... }
  195. expression values.  pc = «activeFunction.baseAddress + activeFunction.pc»;   alert(pc + 1) ;    Hello From = «"Hello World from <value>»;    alert(Hello From 'Clif');
  196. orphan catch and/or finally blocks.  Assume the statements prior to is contained in a try block.   function A() { a = 1;  catch (e) { ...}  finally { ...}  }
  197. a "finally block" without a catch will always be executed and will propagate the catch to the next higher try block
  198. catch multiple arguments;   try { ... } catch (a,b,c) {  alert(a,b,c) }
  199. exit all statement will unwind the call stack and execute any and all finally statement blocksthe exit statement will performs no other statement, it is an immediate exit
  200. alert page layout,  alert.document = document{page layout{size=letter, layout=landscape, margin{left=1 inch, right=7 in}}, ruler{tabs{20;40;50}, units=pixels, font{size=10 points} }; 
  201. alert ruler,   alert.ruler = ruler{tabs{'40;5 right;16'}, units = characters; gutter=2};  alert('Name\tAge\tDOB','Clif\t12') ;
  202. alert buffer;  alert.buffer('Hello '); alert.buffer( 'World'); alert();
  203. named formatted object bits statement,   bits:(0:1,5:2)  skip 0:set 1,  skip 5: set 2,...
  204. bits cast value subscripts,  A = [1,2,3,4,5,6,7,8,9,10];   B = A[bits:(0;2,0:2)];   alert(B);
  205. match cast value subscripts,   A = [1,2,3,4,5,6,7,8,9,10];  B = A[match:(is Prime)];  (inverted logic)
  206. calling sub-functions,  A = B.C();   where C is a sub-function of B
  207. qualified sub-function names  function A() {...}  function A.B() { }  where function B is a sub-function of A, this keeps from having to nest braces, which are hard to locate if missing
  208. extended random values,  random.integer(min,max);  random.real(min,max,dec);   random.fruit();   random.name();   random.name.boy();  random.occupation();  random.phone()
  209. list of expression,  A = list of boy names; B = list of occupations;  C = list of all lists;  D = list of ['fruit'];  E = list of 10 girl names;  F = list of northern states;
  210. list of expression assignment, temporary and permanent, can be an Array, String, or Object  list of my products on localhost = ['A','B','C','D'];
  211. random list of  expression,  A = list of 10 random boy names;
  212. list of classifiers A = list of boy's lists;  B = list of my lists
  213. compound knowledgeable variable names, beside hierarchical, units, and conventions,  we need other relationships, taxonomic, 17 known classification systems, 142 sub classifications
  214. classification syntax nomenclature,  human = classification:(Animals, Chordates, Mammals, primates, hominids, homo, homo sapiens);  A = "Clif Collins" Human
  215. IUPAC nomenclature A = 3-methylhexane; programming in color, style, language, and any other characteristic we wish to introduce at the editor level
  216. % operator for a specific assignment representation of a value. A = 34.2;  alert(A.%english);  "thirty four point two"  alert(A.%french);  "trente quatre point deux",  alert(A.%F8.2)  "     34.20"
  217. %saveas operator, set the external storage representation of a value,  A.%saveas(real.bytes(4)) = [12,5,8,33,105];
  218. % operator, set the internal storage representation of a value;  A.%complex.real.bytes(8) = [1,2];
  219. % operator is different between value get and set:   A.%real.decimals(2) = 23;  (set value as a real)  alert(A.%integer);  (get value as an integer)
  220. declare formatted numbers, A = Math.PI;   B  = A.%f(15.2);  C =  A.%e ; D = A.%g;
  221. declare % directives  for text formatted:  Number, Currency, Date, Complex, Text, Character, Objects, Arrays, Matrix
  222. declare % directives for numeric format of any size:  integer, real, counting numbers, whole numbers, rational,  p-adic, complex numbers A.%complex.real.bytes(8),  A.%Integer.bits(32); A.%english;
  223. declare % base units,  A.%binary; (base 2)  A.%octovigesimal;  (base 38),  A.%base(16);
  224. maybe --- division A = B ÷ C;   rational numbers A = 1//2;
  225. move all the Math functions to the top level search path:  A = sin(32);
  226. move "this" children to the top level search path;   this.Apple = 'Red Delicious" ; alert(Apple);
  227. change default angle units from radians to degrees,  A = sin(180); or force explicit units A = sin(180°);   B = 180 degrees;  sin(B);   D = sin(PI);
  228. forward assignment operator =>  A => B;   save time in assignment edits.    A = B; ...  A => B;   single character change to move value back and forth (especially for a long list of assignments)
  229. function permanent values,   function test () {  alert(name) };   test.name = 'clif';   test();
  230. function statistics kept,  function-name.calledBy ,  function-name.calledByLine
  231. log complete program execution function calls with time stamps, produce on request a detailed execution analysis
  232. function hierarchy using qualified function names  function test() {...}  function test.A() {...}  same as brace nested coding  function test() {  ...  function A() {...}  }
  233. AKA: alias names for a function,  function test.A () aka(Do Something)  {...}  Do Something();  permit complex internal names to be aliased.
  234. permit functions to be called without the parentheses if a semicolon is give before AND after.  Do Something;   note: the start of the program assumes a leading semicolon.
  235. function has access to the name used to be called as,   function test() { alert(' function was called as ' + calledAs) }    A = test;  C = test;  test(); A(); C();  called as "test", "A" and "C" (same function 3 names)
  236. AKA using wildcard characters:  function test() aka(Show *);   { alert (calledAs) }    Show Company();   Show Invoice();  Show History();   calling the same function with an infinite number of names
  237. same name assignment  copy [content of] A to B where names match;  (case insensitive) copy identical named values from one cell to another.   
  238. clone assignment B = clone of A where type = 'text' B becomes an identical new cell of typeof(A) with the contents of A copied that match the where clause
  239. copy assignment copy [content of] A to B  two existing cells, copy content of cell B (maybe a Form) into an existing A (maybe an Object)
  240. function qualifier .bind without parameters for function reference, if this is done then all others could be a call to the function,   function test() { }    A = test;   (run function, see 551)   B = test.bind(); (assign function to B)
  241. derived information:  from a given set of information, derive knowledge. For example: given DOB (date of birth)  then "AGE" can be derived. Also if dead, or possibility of living, grade level, knowledge base, all kinds of probabilities...
  242. common and uncommon facts:  some way to identify facts, and to derived facts about facts:   "date of manufacture"  "date of inception"  "startup date"
  243. subfield selection assignment.   products = [ {name: 'Apple', price: $1.40 per pound}, {name: 'Pear', price: $0.34 each}];  B = products..(name);   B = ['Apple', 'Pear'];
  244. currency quantities and counts. A = $1.34 per pound;   B = $0.34 each;  C = $1 for 3;  D = $12 per square foot;  E = $45 per box of 100,  alert([A,B,C,D,E]..(name,value,count,quanity));
  245. conditional units and quantities, A = $1 each or $3.59 for 5;
  246. derived value and logic syntax. 
  247. extended phrase, word, and character conditionals based on style, content, language, class, and attributes A = "Clif".{style=(bold,blue,underline),class=Person Name,Nickname For=Clifford, AKA=Clifford L. Collins};
  248. get [ brace | parentheses | bracket | <> ] functionget function Apple.price(value) {  this.price = value };    Apple.price = $1.23 per pound;
  249. set [ brace | parentheses | bracket | <> ] function: set function Apple.price() { return this.price };   alert(Apple.price);
  250. verb function: verb function Apple(verb) {  if (verb.name == 'print') ... }   print details of Apple;
  251. search function: search function Apple(name) {   if (! this[name]) this[name] = "" }   B = Apple.unknown;
  252. does not exist function:  does not exist function Apple(name) {  return name[1-*].%integer; }  alert(Apple.N23);
  253. location value: all children inherit "location & security" by default:   location:{localhost,shared,device=C,secure{readonly}} A = 'Hello World';   B = A location:{localhost,user=someone}; C..location = location:{here};
  254. roles and privileges: (cell level security)  A..security += secure:{user='clif',role=supervisor, password=1234, privilege=(read, write, delete, update)}
  255. classification, taxonomy, relationships, see, see also, ownership, history, aliases, indexing, uses, used by, and evolution
  256. constructor name for all objects:  A = new Apple();   alert(A.%context)    "Apple"
  257. indexOf and lastIndexOf  to accept regular expressions as the search argument:  A = "Clif Collins".IndexOf(/c..f/i);
  258. list of caller's function entry points,  A = caller.%entryPoints; 
  259. regular expression's functions as String Object functions (match,test,split,replace,search)   list = "Clifford L. Collins".match(/[C]/g);
  260. regular expression's "exec" function moved to the String object function "locate".   list = "Clifford L. Collins".locate(/[C]/g);
  261. String functions: quote, unquote, escape, unescape, compress, compress1:    A = "Hello World('Here I am')".quote();   B = "Hello       World".compress1(); 
  262. cell functions: cg2, cg3, json, csv, tsv:  A = new Cg2({a:1,b:2,c:3});
  263. cg2 the read only editable text representation of an object:  alert(A[1].a);
  264. cg3 the read only binary transportable / storage representation of an object:  alert(B[1].a);
  265. Object derived value indicator, "?"    A = { dob: new Date(1920,5,1), age: ?};
  266. Move JavaScript properties,   value.%configurable, value.%enumerable, value.%writable,  value.%get, value.%set
  267. ensure all the browses' functions exist. Implement all missing functions in the running browser,  IE does not have "Object.entries" so add it to the prototype of "Object"
  268. alter the Enumerable logic syntax, make it easier to implement
  269. Change all font characters uppercase i and zero as ==>  "I" and "0"
  270. variable %events to set variable actions: get, set, search, not found, create, delete, modify,   A.price.%events = events{get=getPrice, set=setPrice };   alert(A.price.%events.get());  or  alert(A.price)
  271. function %events  call, return, exit, enter, fail   alert.%events += events:{call=debugAlert};
  272. prototype %events Function.prototype.%events = events:{enter=logAllCalls}
  273. truth tables with outputs of ==> Karnaugh Maps, Boolean Expressions, Circuit Diagrams
  274. cg2 compiler program execution, A text based compiled program
  275. multiple CPU and Process program execution from the same source code
  276. plural qualified value, employees = plural:{singular=employee, id=employee_id};  a = new employee('John Doe');  A new employee is automatically added to and deleted from "employees"
  277. inline function, run function without leaving active function, call stack not changed  inline function price(A,B) { return A + B };   A = 10; B = 20; C = price(A,B);
  278. operator function, functions that execute hardware instructions, a macro that looks like a function but is expanded into primitive hard typed value instructions (required for table driven opcodes)
  279. get rid of the 214 heteronyms, words spelt the same but pronounced differently,  Wind (air movement),  Wind (to crake) -- to determine context is a little over the top (for now), possibly add Diacritics
  280. Object's "nameValuePair" as "value" only parameter;   apple = "Red Delicious";  pear="Barlett"  fruit={apple,pear};   same as   fruit={apple:apple, pear:pear};
  281. Timeline of when a variable is: Created, Changed, and/or Deleted,  A = 1;  timeline mark "after A";  B = 1;  timeline mark "after B"; C = 1;  alert(timeline);
  282. robot compiler primitive, maintained offline as a standalone folder, load on demand:  house lights on;  ./robots/house.js = "robot house () languages:{ language{lights, {turn} on, {turn} off} }  { ... };"  
  283. robot qualifier phrases,   Rachel's house turn on lights;  robot house ()  phrase:{language{my},value=user.current}   house.phrases += phrase:{language{Rachel's}, value=user{Rachel}};
  284. robot context,  robots context add context:{lights, alias{house lights turn on}};
  285. random phrase lists phrase{random(lights,turn,on|off), random(on|off,lights) };
  286. Possessive parts of speech to language and syntax -- Possessive Adjectives (at, on, in, but,...)  Possessive Pronoun (my, your, his,...)  Possessive Nouns (kids', Jennifer's, companies', ...)
  287. compound robot language -- permit one sentence to reference multiple robots. (might not be practical)
  288. compile time assignments :=     A := lookupTable:{csv:{file{c:/temp/states.csv}}};
  289. alert escapes sequence -- \(cn)  tab to column n,   alert(\(c20)Apple \(c40)Pear);
  290. change the meaning of a boolean value of a numeric 0 to "true".Loop logic to determine increment direction and boundaries,   loop index (1 to -10 by 2) { ...}
  291. what and units  A = 10 ft as width;  B = 312 inches as height;  C = A * B;  C = 260 square feet (10 ft width (A) by 26 ft height (B))

    2018 top
  292. addition of objects; A = {name:'Clif'} B = {age: 12, dob: ''}  A += B;
  293. variable name attached to value  a = new Object(): alert(a);  listing contains a = <object> ...
  294. case insensitive text.  A = "Clif";  A~keyword = true;  if (A == "CLIF") alert(true);
  295. attributed text (trim, case= ('upper', 'lower', 'proper') ,compress, keyword, editable)  A~compress = true; A~upper=true ; A = " Clif      Collins   ";  // "CLIF COLLINS"
  296. horizontal partitioned arrays and matrix: A = new Array();  A~partition.horizontal = function () { return this.value[0,1].toUpperCase() };  A += "Clif"; A += "John"  alert(A.J);
  297. vertical partitioned arrays and matrix: A = new Array();  A~partition.vertical = {[ name:'index',columns:'name'], [name:data,columns:"*"]}   A += {name"clif", age:12, address:''}; alert(A.index);
  298. infinite number of vertical and/or horizontal partitions
  299. infinite depth on horizontal partitions (i.e. company.department.project.year,month.day.hour);
  300. externalized vertical and horizontal partitions  horizontal partition example: "index(http://index/2016/Jan.cg3)"
  301. security possible on every vertical and horizontal partition
  302. version, format, structure, depth, and granularity independent of partitions
  303. concatenation of "undefined" and "string", make "undefined"  blank
  304. permit the function variable "this" to be changed,  this = new Object();
  305. allow dynamic format change, any size (bits or bytes) integer, number, or real array A = "clif"  A.~.format = 13 bit integer;
  306. allow access to binary structure A.~.binary = true;
  307. absolute control over program flow
  308. asynchronous wait, either blocked a = b.wait(), or unblocked a = b.return();
  309. parallel asynchronous statement execution; a = get.continue(1);  b = get.continue(2);  continue wait;
  310. enter points with a function callable from called functions, two way communication between functions
  311. emulate threads, permit screen refresh from any function;   function a() {  for (i=0; i<100; ++i)   { progressBar(i);  refresh; } }
  312. Jane server, solicited and unsolicited web socket communication to multiple servers
  313. Local Jane server ( for reading / writing local resources  A = local["c:/temp/myImage.jpg"];  local["c:/temp/hello.txt"] = 'Hello World";
  314. Jane database tied directly to compiler,  A = Employees; where Employees is a table/object on a local and/or remote server(s)
  315. on-demand loading of server resources, A = Employees; alert(A[0]);  only the first employee is actually read from server
  316. server reading and writing tied directly to compiler,  A = Employee["Clif Collins"]; A.age = 12; server immediately updated
  317. transaction processing, begin Transaction;  Employees.add({name:"BOB"});   commit; (or rollback)
  318. addition assignment of string/integer/number/real to undefined value get initialized to blank or zero A += "Clif"  on first assignment A is initialized to blank, no need to initialize A
  319. of operator, to generate a percentage  a = 10 of 100;   a = 10 percent  ++a  increments percentage counter not the percentage value, loop a (index,value) { ... } loop through the percentage
  320. FPGA logic added to assembler with output and/or simulation, (software implemented in hardware)
  321. compiler forms, a hybrid form generation tied directly to the compiler.  win32 forms, html, and pdf styles (pages, printable, index-able, scale-able graphics, 3D) as a single language on all hardware
  322. compiler forms, emulated in all browsers, and compile-able in Windows and Linux
  323. compiler forms using a simplified html format, simple in language not in functionality
  324. compiler forms with graphics 2D & 3D language, math equation language, and macros
  325. device object A = new Device(); A.clif = "Hello" A.clif.file = c:/temp/myData.txt; a physical or ram storage device
  326. hardware device B = new Hardware();  B.Clif  = A; a physical hardware device
  327. remove the need for an install utility, every program is immediately known, defined and movable
  328. application modes, Production, Testing, Training, Replication, Backup,...
  329. Jane scripting tied to forms with direct process to process communications.
  330. scripting makes no distinction between form and console applications
  331. self tagging devices. Mouse, Keyboard, Monitors,... known to the system, with changeable names, locked to an internal network (unlock-able)
  332. infinite memory, A = new Memory(2 byte integer); A[8 GB] = 12; B = A[9 GB];  B is null
  333. CAN BUS infinite nodes, change for wider use: car to car , car to facility, communication, I want to see what is in front of the 18 wheeler, no versions ever required, get rid of traffic lights, absolute security
  334. screen management system as part of the form management system, with this higher resolution take advantage of it...
  335. park-able, resize-able, drag-able screen regions, split screen into regions to park applications, forms, and sub-forms
  336. web addressable screens, attach any number of screens to an application, A = myScreen_1, B = myScreen_2, C = http://raspberry_pi_1/screen_1;
  337. more on flow control: event transfers, the transfer of control to a sub-event,  if (new_section) this.subEventName();  the event can transfer control back with a "reenter" statement , or finish with a "return"
  338. compiler has access to all local and remote hardware characteristics,  alert(hardware.monitors.length);  width = hardware.screen.virtual.width;  alert(raspberry_pi_1.hardware.devices);
  339. device characteristics are dynamic, meaning they are always refreshed from the current operating system's settings
  340. inner-process communication, extreme packet size (unlimited) communication with action packet handling.  A = new Program(sender); B = new Program(reciever);  B.(sibling).sender = 'Hello World';
  341. parent / child inner process communication,  A = new Program(myTest);  function myTest() { this.(up).send = 'Hello World'; }  function send(value) { alert(value); }
  342. alter function flow to be linear
  343. interchangeable client / server (master / slave) roles. (client) A = myServer.print(myObject);  (server)  B = myClientObject.copy();
  344. allow orphan catch and finally blocks, it assumes a global try
  345. permit try and/or finally without a catch, An orphan try -- jumps to the end on exception,  An orphan finally, always executes before a return
  346. onLoad: onEnter: onFailure: onUnload: onReturn: onExit: onNotFound: event entry points
  347. event entry points in "main" are global for every function
  348. "break" statement to exit a try, catch, and finally blocks, add a label if within a loop
  349. finally block are always executed, except on an "exit" statement, use an onExit: entry point label in this case
  350. the names of a "function arguments" are available.  Apple = 'Red Delicious';  list(Apple);  function list(p1) { alert(argumentNames[0] + ' = ' + p1) }   output is "Apple = Red Delicious"
  351. extend alert to qualify arguments Apple = 'Red Delicious';  alert.withname(Apple);  output is "Apple = Red Delicious"
  352. search command, A = "Hello World";  B = search A for word starting with "W" and ending with "d" ;  alert(B.preceding);
  353. split command,  B = split A as CSV;  alert(B); 
  354. replace command  B = replace ((split A as JavaScript) where type = id and value = "myData") with "Apple";
  355. custom compilers A = new Compiler(statements);  A.compile('alert("Hello World")').run(); default compiler, can add your own statement syntax, select from supplied statements, output to JavaScript or as an Executable
  356. programming character set, get rid of regular expressions in strings (backslash),  Tab character (09) = □  New line character (13) = ■  escape code = ◊, I will remap keyboard to accept Unicode programming codes
  357. Language parser;  date = new Language(new date$());  c = date.parse('jan fifth two thousand and eighteen'); alert(c + '\n' + c.toValue()); date is a user defined language
  358. System defined Languages, date$, file$, url$, address$, email$, properName$, number$, csv$, html$, javascript$, cpp$, ... these will parse and validate syntax, allows for specific formatting by country name
  359. Object operators as functions,  .__operators. [+,-,/,*,!,**,&&,&,||,|,^,%,~,<,<=,>,>=,>>,<<,=,==,!=] every object can define operator functions.  A.__operators['+'] = addFunction;  A  = B + C; (Hello Python)
  360. Dynamic Operator function ".name." for two operators, ".name" for one operator  this.__operators.[".cross."] = crossProduct;  C = A .cross. B;  B = .invert A (separate with blanks, Hello almost FORTRAN)
  361. In place operators, operators that work on the contents of an object  this._operators["..sort"] = mySort;  ..sort A;
  362. operator arguments ..sort.order = 'ascending';   ..sort A;
  363. All methods are separated into a "methods" partition  a.run = runFunction;  a..methods.run = runFunction; (same)  (Hello Debugger)
  364. re-entrant functions, "yield value" not used, need something a little more obvious, for (value in A.reenter()) ... (see above, 155, 185) better flow control, any function can be used, can pass more values to entry point
  365. extend "for in" statement to include re-enter-able and non-re-enter-able functions reenter function A() { i = 0;  while (i < 5) return i;  };   for (i in A()) alert(i); for non-re-enter-able functions, while i <> null
  366. operators in the "for" statement, for (i in 50)  {...}   (index 0 to 49)
  367. dollar, cents, currency, and comma formatted numbers A = X.dollar();  B = X.dollarAndCents();  C = X.dollarOrCents();  D = X.currency('yen');  D = X.comma(); 
  368. "for in" statement values in range  for (i in 1 to 21 by 3) { ... }  returns 1,4,7,10,13,16,19,21  or  for (index,value in [1:21:3])
  369. "for in" statement characters in string for (C in "Apple");  returns ''A','p','p','l','e'
  370. "for in" statement, return object's values not name for (value in {name:"clif", age:12})  { ... }  returns "clif", 12
  371. object properties A..name extends every value to contain run-time / compile-time properties A..properties is the container of all properties
  372. system defined object properties: name, units, type, loaded, modified, locator (parent, index, location, sortTable, verticalPartition, horizontalPartition, hashTable) (some are built on reference)
  373. system defined object event properties onchange, oncreate, ondelete, onload
  374. universal name space, known common terms: drives, hardware, local, server, registry, pictures, videos, tables, databases, people, employees, friends, my, logs, ...
  375. location objects compile-time (late binding) A = file://c:\temp\mydata.txt;  A.content = "Hello World"; C = http://collinssoftware.com;  alert(C);  properties = size, dates, versions, backup, type, sortTable,...
  376. location types, file://, http://, https://, ftp://, mail://,...
  377. location run-time string parse syntax:  A = new Location("file://c:/temp/mydata.txt");   alert(A.content);
  378. location container types (late binding),  folder://, machine://, device:// network://, database://, project://, robot://   A = folder://c:\temp\; for (file in A)  { ... }   for (device in machine://local) for (folder in device.folders) { ... }
  379. remove language syntax characters from all location values, + - * , ; ( ) [ ] { }  use encoding for these characters, for example:  %28 "("    %29  ")"   A = file://c:\temp\file %28Copy 1%29.txt; (only for inline coding)
  380. compile-time includes of locations: A = quoted { include file://c:\temp\file_extensions.txt; };   recompile => hourly,  nightly, weekly, monthly, yearly, onchange...  for updated tables
  381. complex objects: points, lines, polygons, text, symbols, secondary annotation, labels, fonts, grids, faces, math equations, animation,,...
  382. overloaded  "get" and "set" operators   function x$() { this..operators.get = function () { return 'hello world' }; }   A = new x$();  alert(A);
  383. new overloaded operators (...) [...] {...}  function x$() { this..operators['(...)'] = function () { alert(arguments.length) }; A = new x$();  B = A(1,2,3,4);  permits the syntax A(n) A{n} and/or A[n]
  384. new overloaded dot operator "." function Apple() { this.name = 'Red Delicious'; this..operators['.'] = function (name) {  return this[name.toLowerCase()];}  fruit = new Apple();  alert(fruit.Name);
  385. new overloaded operators ? \ @  #  @=  #= ?= \= |= ;  String..operators['#'] = function (A,B) {  return A.toLowerCase() + B.toLowerCase() } ; alert('CLIF' # 'Collins');
  386. unary overloaded operators,  function x$() { this.value = -33; this..operators['unary+'] = function (operator) {  return Math.abs(this.value); };  }  A = new x$();  B = +A;
  387. extend unary operators for * / % # @ ! ? \   String..operators['unary%'] = function (operator) {  return trim(this.value); };  }  A = '       Clif Collins    ';  B = %A;
  388. extend pre and post unary operators (prefix with optional "pre" or "post" )  // ## @@ %% ^^ .. ~~  String..operators['pre##'] = function (operator) {  return this.value.toUpperCase()  };  }  A = 'Clif Collins';  alert(##A);
  389. is operator validates type and/or format of the content:  if (A is 'string') alert('A is a string'); if (A is 'date')  alert('A is a date: ' + A..date);
  390. "what is" operator, search all know types for found object name or content type of a string  A = 'Jan 5, 2012';  alert('A is a ' + what is A);   A is a date;
  391. is operands, object names, or in search path operands:  window..operands.is = quoted{include Jane..operands.is}.split(','); this..operands.is = 'cg2'.split(',');
  392. overloaded keyword "delete" Hello (c++)   A = new x$();  function x$() { this..operators.delete = function () { ... };  delete A;   ("new" does not need to be overloaded, it already is) this allows for remote delete operations
  393. permit assignment to a function result  A(1) = 45;  along with the bracket [] and brace {} syntax.
  394. parameters of the parentheses () is an array of values, for brackets [] is an array of name, number, and/or a range "n-m", for braces {} is an array of "name":value  B = A(1), B = A[1-20], B = A{name:'clif'',age:12};
  395. change syntax of JSON to be the same as JavaScript A = JSON.parse(" 'name:'clif',age:12");
  396. extend JSON to declare object type and vertical partition declarations A = JSON.parse(' Person{name:'clif',age,12,year:2018,sort.index:1} ' } horizontal partitions are created by the Object content;
  397. JSON to stringify by vertical and horizontal partition B = JSON.stringify(A.sort.2018);
  398. JSON full resolution "fullStringify" function, to augment Objects and Functions to JSON text,  A = new Person('clif');  function Person(name) { ... } ;  B = JSON.fullStringify(A); C = JSON.parse(B); A and C are clones
  399. Vertical partition attributes: constructor, destructor, isExportable (permits segregation of system values and run-time values from stored values)
  400. globally unique terms and identifiers, every world object is uniquely identifiable A = new Person$('Clif'); Employees.add(A);  B.person = A;  C = JSON.fullStringify(B); D = JSON.parse(C);  alert(D.person.name);
  401. extend "parse" logic into "search" statement, A = search B for '<proper name> <comma> (color)'
  402. CG2 and CG3 objects A = new Cg2(value);  B = new Cg3(value);  cg2 is human editable / readable object, cg3 is machine readable, storable and transportable object, both are query-able and self valued
  403. Plural objects.  persons = plural of Person;  x = new Person('clif');  y = persons['john'];  x and y point to the same object, there is always only one Plural of an Object type
  404. select statement of a plural results in a view of a plural.  Employees = plural of Employee;  houstonEmployees = Select * from Employees where division = 'Houston';   (late binding)
  405. plural hierarchy selection filters:  Employees.selections.common = company => division => department => supervisor => group;  mySelectionDiv.innerHTML = Employees.selections.common.HTML;
  406. clone operator, as an Object is assigned a clone is created.  A = new Object();  A..operators.clone = function (obj) { this.name = obj.name }; B = A;   A and B are two Objects;
  407. linked data, large dataset reference address A = 'Clif Collins'  B = A..reference;  alert(B[1:10]);  A and B both point to the same string value;
  408. load and unload on demand of logic. logic management system for the loading and release of objects and functions.
  409. qualified value content a = persons{csv{ascii{file{file.id{c:\temp\test.txt}}}}} ;  b = json{name:'clif'}   c = csv{1,2,3,4\n5,6,7,8}   unique terminators  something{~xxx~ anything ~xxx~}  compiler validate content / load on demand
  410. qualified value distinguish "content" from an "identifier to the content".  file.id{...} is a file identifier (filename), file{...} is content of a file (bytes), folder.id{...} is a file folder identifier, folder{...} is the content of a file folder
  411. qualified value variable  a = 'a,b,c,d'; b = csv{text.id{a}};   format acceptable as windows and unix file names and database content
  412. qualified value as an array  a = csv{ text{name,age,dob,address}, spanish{Ascii8{file{file.id{c:\temp\test.dat}}}} };  to have the ability to augment / combine multiple data sources
  413. assignment to qualifier text content  file{file.id{c:\temp\test.txt}} = "Hello World";    a = file{file.id{c:\temp\test.txt}};   a = "hello world";  (on demand read / write, "a" is just qualified value with get/set properties)
  414. qualified value hierarchical structure a = file.id{c:\temp\test.txt};  b = a.parent is folder.id{c:\temp\};  siblings, parent, children, firstChild, nextSibling c = a.parent.children;   folder{folder.id{c:\temp\}} (load on demand)
  415. "@" everything world object  a = @.collins_software.employees  b = @.my.network;  c = select 10 random * from @.listof.boynames;  @.my.projects += compilerProject;  The permanent database (local port 7710)
  416. superimpose common global names to the universe of names, @.global.boynames = @.listof.boynames;  put @.my.global and @.global in the search path  a = boynames;
  417. compiled global names, the compiler will resolve world names at compile-time and at run-time
  418. qualified value functions are handler objects for named qualified value values. They are in their own namespace and only accessible as qualified value operations.  qualified_text function person(){ ... }  a = person.id{Collins, Cif}
  419. Table object with cascading "qualified value" attributes from parent => Table => Column => Cell   A = new Table(); A.format = cg3{}; A.columns[0].id = integer{row.id{}}, A.columns[1].name = personname{text{}};
  420. the hierarchical structured "qualified value" objects have a flattened namespace that are cascaded upward.  a = persons{csv{ascii{file{file.id{c:\temp\test.txt}}}}}; b = a.parent; c = a.csv.parent; b = parent of a, c = parent of file.id
  421. define qualified value attributes as an array  a = csv{file{file.id{c:\temp\x.dat},file.lines{1-20,30-40}}}  This permits the description of content, logic and optimization. (file.lines is filtered at the server, where csv.rows is filtered at the client)
  422. qualified value as text b = "csv{file{file.id{c:\temp\x.dat},file.lines{1-20,30-40}}}}";  a = qualified_text{b}; permitting externalizing of content, logic and optimization as a universal description
  423. qualified value resultant value: text, Integer, number, real, or object.  a = integer{10};  b = array{csv{1,2,3¶4,5,6}};
  424. csv - first line as named qualified value column headers, a = persons{csv{lines{text{~~name{}, age{}, dob{}, address{}, department:text{}¶ 'Collins, Clif',12,,'7710 Janak Drive¦Houston, Texas 77055',Software Development ~~},lines.seperator{¶}}};
  425. add qubits and quantum logic gates to the syntax. This should include the probability, entanglement, and uncertainty properties along with the math required for complex numbers, and n-dimensional transforms.
  426. universal qualified values @.user{} defined as current logged in user, me = @.user{} declares an alias,  include @.aliases;
  427. value reference, a = 'clif collins' b = a.reference[0-4] c = [1,2,3,4]; d = c.reference[0,2];
  428. flow control - multiple threads on multiple machines 
  429. Jane server logicals,  logicals.jane = "c:/temp/";  logicals.scratch = "jane.scratch";  a = filename{scratch.test)  a.value = "Hello World";
  430. language added characters,  «field-name» (0xAB and 0xBB) keypad 4 and 6,   tab character  § (0xA7) keypad 0,  line feed ¬ (0xAC) keypad +, A = "name§= «person.name»¬age§= «person.age»¬address§= «person.address»";
  431. rewrite the keyboard driver
  432. change operator precedence (bitwise operators), and a review of all others,  a = 2 & 6 + 5; ( a should =  7)  (a now = 2)  bitwise AND and OR change to same precedence as PLUS and MINUS, the "C" language set these, not sure they were correct
  433. compiler aliases,  a.bytes, a.length, a.size, a.byteCount, a.count validate aliases during compile time,  define aliases once, and resolve at run-time, this is for external references.  a.bytes:length:size:count = 10;
  434. duplicate NTFS as CG3 formatted sectors. This permits the sector number to be a unique identifier and used as a database access index. Provide complete access to hardware disk content
  435. content delivery system (CDS) commands. this.functionsName = serverExecute('CDS_DAILY{command=files&path=www:file/functions/}'); cache results on server by command text
  436. content delivery system unique permanent identifier, id = CDS{serverExecute('command=files&path=www:file/functions/')}.identifier;  this.functionsName = CDS[id]
  437. binary parsing structure (as a domain specific function) a = structure{n:I2,name:A[n]; alert(name)};  b = a.parse(myByteArray);  functionactions "S" skip bytes, "A" Alpha, "I" integer, "N" Number, "B" bit, "R" real, "D" date, "SI" swapped Integer, "SN" swapped number, "IBMR" IBM real, "VAXR" VAX real
  438. union of sets C = A not B { return A.name == B.name };  where A and B are of any type.  A not B;  A and B;  A or B;  A in B;  A not in B; the inline match function is optional. "A" and "B" are the names of the function arguments, "in" is a boolean result
  439. Redesign all character fonts to make every character unique. specifically the upper case "i", lower case "L",  one "1", zero "0", oh "O". Fix the characters that cannot be distinguished from other characters.
  440. Remap keyboard scan codes to include extended programming characters,  all the teletype control characters can be used.
  441. array constructor, A = [expression for [name,]value in B] with conditionals A = [expression for [name,]value in B if value < 10];  B can be a "string", "object", "array", "table", "matrix", "qualified value"  or "select statement"
  442. object constructor, A = {name:expression for name,value in B};with conditionals A = {name:expression for name,value in B if value < 10};
  443. value constructor, A = (expression for [name,value] in B);  with conditionals (like above),  example: A = (average(receipt.total) for receipt in receipts);
  444. permutations and combinations of arrays A = permutations([1,2,3],3);  [123, 132, 213, 231, 312, 321]  B = combinations([1,2,3],2) [12, 13, 23] ;
  445. value constructor aggregate functions: minimum, maximum, average, count, mean, mode, range, median;
  446. object constructor aggregate functions: stats; (all value aggregate functions)  A = {stats(value) for value in myList};
  447. array constructor aggregate functions: histogram, difference, collection or unique, permutations ; A = [histogram(name,value) for name,value in B];  A  = [difference(value) for value in B];
  448. due to IC technology: (the ability to scan an infinite number of values), array, object, value constructors require two limits, a loop limit and an insert limit, C = [ floor(a / 10) for top 100 a in B] limit 20;  (top, bottom, middle, random)
  449. array, object, value constructors using LOOP statement C = [a[i,j] loop top 100 B(i,j,a) if a < 10] limit 5;
  450. setting a large limit will force the use of IC technology to store the result onto temporary server file system. Actually an automatic IC threshold could be set as values are inserted. (maybe 4k bytes, then double buffered and stored on disk)
  451. named complex data structures in cg2,  *define:person, name; *define:person.cars[],make,model;  person,clif;  person.cars,chevy,truck; order dependent unless indexed
  452. geographic mapping projections (Mercator, Lambert, state plane, utm, ...:)  B = 29.7969925 latitude, -95.4917892 longitude, 10 feet;  xy = B state plane 4024;  point = 12342674 x, 7830930 y state plane 4204 nad83;
  453. complex numbers,  a = 10.7i
  454. local and network jane server, a shared / user based network server, and a private local server for each machine / user with full access on a private network. With only read only access to the public web
  455. a separate physical public network on the jane server for read / write access to the web (requires 2 NIC cards)
  456. Jane to only use and store Metric Units, other units will need to be explicit
  457. numeric division of units by a factor of N / 10 digits    1:5 = 1 + 5/10,   23:005:034 meters = 23 + 5/1000 + 34 / 1000000 meters  (use colon instead of period or comma to be nationality independent)
  458. file management, database and transport handled by jane  A = file{filename{c:/temp/test.dat},text{}}  B = A.lineCount;  C = A[1:B]; 
  459. change array index from zero to one, do we need a programming paradigm for indexing if we eliminate the need to type in "<=" , reserve zero as non-existent, we can use counting numbers and double our number size, and use zero as false
  460. date's month as characters only, jane will not produce or accept numeric months "ever" 10/3/1999 means nothing (no guessing) dates are not system clocks, we need infinite time...
  461. permit name, value specification in the  "FOR IN " statement  for (name,value in myList) {text += name + ' = ' + value}
  462. for statements treats text as an array of characters:  for (c in "Clif") { list.push(c); }
  463. Array to Array operators, C = A - B,  C =  A + B,   A < B,   A > B,   A == B,  A != B,  A union B (A + B), A not in B, A exclude B
  464. string or number (A) to Array (B) Operators,  C = A in B, C = A not in B,  B += A, B -= A,  B |= A 
  465. line / arc to line / arc snap , line / arc / polygon clip, point inside polygon;  A = polygon{0:0,10:20,20:0},  B = point{5:6}; if (B inside A) alert('inside');
  466. multiple return values:  a, b = test() function test() { return 10, 'clif' }  if one value a = test()  then a = [10,'clif']  if more  a,b,c = test()  then a = 10, b = 'clif', c = undefined
  467. jane known values,  local, server, www
  468. jane "local" and "server" values,  user, users, aliases, operators, robots, devices, operatingSystem, hardware
  469. substring to be inclusive not exclusive (index 1)  a = 'clif collins'.substring(1:4);  also as   a = 'clif collins'[1:4]; and as   a = 'clif collins'[1-2,3-4];
  470. subtraction of text,  a = 'clif collins' - 'Clif'  (case insensitive)
  471. text find operator  a = 'clif collins';   b = a find 'c' or 'i';    c = a split(b);   d = a replace(b,'_');   e = a - b;   c is ['l','f ','oll',ns']  d is '_l_f _oll_ns'   e is 'lfollns'
  472. compile time and run time, and jane directive,   global (outside a function) and local (inside a function)
  473. compile time directives, compile.caseSensitive = true;  compile.keywords = true;  compile.language = javascript;  compile.showErrorCount=1;
  474. run time trace directives,  trace.statements = true;  trace.functionEnter = true; trace.functionExit = true;  trace.valueChange = test.count;   trace.valueCreate = windows;
  475. run time event directives,  on.statements = onStatement;   on.functionEnter = onFunctionEnter;
  476. run time directives,   trycartch = off;  (debugging break on error)
  477. Jane server(s) compile time directives,  Jane.local.readonly = true; Jane.server.caseSensitive = false; Jane.name = Samual
  478. linked prototype values across servers,  A ==> B ==> C      aliases ==> jane.local.user.aliases ==> jane.server.user.aliases ==> jane.local.aliases ==> jane.server.aliases (load on demand)
  479. a linked object value type,  A..inf = object{Jane.local.user.aliases}  inf (If Not Found)  load on demand
  480. jane FONTS, a text based font description a = font{A,(0:0:M,100:30:D,0:60:D,10:15:M,45:15:M);}  to include: lines, arcs, splines, bulges, circles,  insertion point, base, ascent, descent, offset, ... all vector polygon filled / stroked.
  481. jane font application,  a simplified definition language,  centerline expansion, fillets, and line cap algorithms. (output web fonts and TTF)
  482. an enhanced error handler and recovery system. two types of error, internal (a programming error) and external (user induced) a server based exception handler...
  483. remove "REGEX" from the language...   an unnecessary complexity... replace with a more complete information parse language... a hierarchical description for all digital structures (text and binary)
  484. "for in" index and value, for (index,value in a) { ... } 
  485. "for in" loop of "String", "Array", "Object", "Number" and Date  (number index 0)   name = "Clif";  for (char in name) { ... };  for (i in 50) { ... } 
  486. compiler.language = 'javascript'   enforce JavaScript language conventions
  487. Jane Personal Local Server, LAN Jane Server, and WAN Jane Servers to perform secure local operations (as services)  Jane, Jane.LAN, Jane.WAN, Jane.WWW
  488. run Python, C++,C#,VB,DOS,PowerShell,... from the browser, allow debugging of these processes
  489. Jane modes, Development, Production, Testing, Quest, Read Only, Remote, ...
  490. Jane Roles and Privileges, to files, objects, and services
  491. SQL and Jane capabilities  temp = Select filename from Jane.C.temp.files() WHERE extension in ('.dat','.log')
  492. OFFSET and INDEX
  493. switch statements, search for value in Object, Array, and Table.  boys= ['bob','sam'];  switch ('bob') { case (in) boys: return name + " is a boy's name" }
  494. c"..." csv style quoted text, no escape characters in the text,  (double the quotes inside text)   A = c"4' by 8"" room"
  495. r"..." raw quoted text, multiple lines, no escape characters or same quotes in the text,   A = r"4 ft by 8 in room"
  496. e"..." escaped text, multiple lines, A = e"apple \n oranges";  (default)  (I will probably make "raw" as the default)
  497. formatted text a = "%s %d" using [name,  age] (positional) b = template{Name «name»,  Age «age:hex4» } (template -- multiple lines)
  498. switch statement operator (in) (like) (<) (>) (<=) (>=) (!=) (==) (===)    case (in) boyNames: return "this is a boy's name";
  499. name search standardization,  PascalCase,  camelCase,  Snake_Case, Kebab-Case, lowercase, UPPERCASE: Case Independent searches (as if lower case and remove underscores, dashes and blanks)
  500. Jane keyboard and editor, Jane character sets (hard and soft control characters in the font, single character "A" code (no more lower case character codes) switch to case control by character characteristics
  501. Separate "font" technology for the "character" technology (logically)
  502. Per Character characteristics: Upper, Lower, Bold, Underline, Negate, Italic, Color,  Background Color, Language, Slant, Alpha, Numeric, Symbol, Control, Punctuation
  503. distinguish between "language characters" and others as a  "Common", "Drawing" , "Christmas",...  non-language picture characters
  504. get rid of ALL case-sensitive text compares (as the default)
  505. Add a new CHARACTER case compare operator  =bold || upper | lower || not || italic || underline || color:red:50% || bkcolor:black:50% || language:Spanish || slant:-15deg || Alpha || Numeric,...= (opacity :50%)
  506. a new TEXT case compare operator  =pascal | snake | camel | kebab || bold || not || italic || underline || color:blue || bkcolor:white=  (with  "OR" || and "AND" &&)   (all characters in TEXT must match)
  507. distinguish between a binary number and a binary character at the hardware level

  508. Add a character characteristics element {{..}} to the language,  A = 'Clif'.{{bold,color:red,not}} 
  509. variable dot notation for character characteristics  A = {{bold}}  set A to the characteristic Bold, A. = {{bold}} set the characters of A to Bold,  A. += {{underline}} add underline to the characteristics of A
  510. character characteristics compare operator  if (A. == {{bold,!color:red,alpha}}) ...   (== match if these conditions are set, === match if only these conditions are set)
  511. I have named this new element a "cast", it can be used for all Object types not just text
  512. need to improved font functionality, of Upper, Not, Underline, Color, Background Color, Slant, Stroke cases
  513. variable dot notation A.  The cast is a text representation of binary structures within the parent. There is no validation on the names, values or syntax. The casting to text modifies the binary representation of each character
  514. casting get and set functions String.inf.castSet(object) {...}  String.inf.castGet(); {...}    A = "Clif".{{bold,underline,color:red}}  if (A == {{bold}}) { ... } ; alert(A.);
  515. cast operators, + (combine two casts)  - (subtract one cast from another)    A = {{bold}}; B = {{lower}}  C = A + B; (C = {{bold,lower}})  D = C - B  (D = {{bold}})
  516. cast assignments A = {{bold,not}}; B = {{color:red,underline}};  C = 'Clif' + A ; D = 'Collins' + B  (Clif Collins)  E = C. + D.  (E = {{bold,color:red,not,underline}})
  517. text cast characteristics are changeable (mutable)   A = "clif Collins";  A[1] = {{upper,color:red,bold}};  Clif Collins (index 1)  (EVERYTHING can be changed, the use of the word "mutable" is now moot)
  518. APL -- The ∇ Nabla and the ∆ Triangle symbols might be useful for thread management, or for synchronous and asynchronous management or for reentrant function calls (i.e. python yield statement)
  519. language verbs, define a set of verbs for the compiler ,  verbs, ('print', 'run', 'open', 'cross');  using an Object's entry points:  process print()  { ...  } ;  usage is then; print person;
  520. new keyword process, a sub function of a Object's constructor that defines system events (onEnter, onExit, onSearch...) , opcode overloaded operators ( - + / * < >..., ) 
  521. Object's process entry point events:  process on.search(name) { }  defines and Object's event process, Events call on these events: search, create, delete, modify, enter, exit
  522. Object's process operations (overloaded operators)  process this=A { };  to overload all existing operators (math, logical, boolean) plus add any new named operator  process this cross A { }
  523. Process operators syntax  process this- { ... } (post unary -)   process -this { ... } (pre unary -)  process this+A { ... } addition with argument "A"
  524. Process operators using unknown keywords and characters.  process this cross A { ... };   process this ● A {  };   A = B ● C;  D = A cross B;
  525. Making keywords and operators known, process.operators = ['cross','●'];  execute  prior to any use of these operators, or add them to the compiler.
  526. Process use of ( ), [ ], { }   process this.on.call (A) { ... }  process this.on.index (A) { ... } ;  process this.on.brace (A);      A(3) = B; C = A[3-4,6];  D =  A{apples, oranges};  (remember A is an Object or a Function)
  527. keep the "with" statement and extend it to manage both local and global names (i.e. window), be able to set modes globally with.insert(Development as Mode) or with.insert(Production as Mode)
  528. altered local with statement syntax , extend name searches within the "with" statement to include the .name syntax (name will be created is it does not exist)   a = {}  with (a) {  .apple = 5 }  alert(a.apple)
  529. global with statement,  G = {Company:'Collins Software'} ;  with.insert(G);  A();  function A() { alert(Company) } right now it's with.insert(window) as the default
  530. global with statement management  with.insert(G,0) ;  place G at the top of the search stack,   with.remove("G");   with.disable("G");   with.enable("G");   with.appendTo("G",H);  with.move("G" top);
  531. global with statements only last as long the function that set it remains active, unless the ".permanent" qualifier is added  with.enable.permanent("G");
  532. Add Common Phrases , number of records | bytes | characters | columns | rows in A,  maximum | minimum | average | sort order | selection | sort index of A  (standardize common names of values)
  533. if (number of records in A > 100)  { ... };  B = maximum of A;  for (i,value in selection of A) { ... }
  534. phase ... of list: Siblings, Next Sibling, All Siblings, First Child, Last Child, Parent, Cast, Columns, Rows, Number of <name>, Address, Copy, History, Location, Functions, Constructor, Name,  Names, Values,...
  535. verbs .. list: Print, Run, Open, Export, Import, Close, Edit, View, Cancel, Abort, Wait Here, Return Here, Don't Wait, Tell me about,  Show me how, What is
  536. is statement conditional:  if (E is an Integer) { ... }   B = is E an Integer;  C = is E a child of B;  Integer, Date, Number, Real, Text, Object, Matrix,  null, undefined, object-name, positive, negative, zero, an Index
  537. view, as statement assignment, B = view of A as a binary byte number array; T = A as a four column table;
  538. set statement,  loop function initializationset E as reentrant;  while (E()) { ... }  (first call begin at top of function, all others re-enter just after the last executed "return" statement, "until return is the last statement")
  539. set A as the exception handler for F; set B as the startup function for F; set C as the wrap up function for F; set 10 seconds as the time limit for F;  set reentrant limit 10 for F (forces a false return and a reset)
  540. what statement, perform an information request from an object. B = A what is your parent's name, C = A what is your purpose, D = A what is your server location, E = Company what is your tax number
  541. dynamic extendable compiler, attach a table of: overloaded operators, phrases, robots, verbs, and prototype functions to the compiler. (does not require a re-compile) (the system extensions are recompiled)
  542. Static extensions to the compiler to add new statements. Requires a re-compile of the compiler. (only at the system level)
  543. Phrases, Verbs, Robots and Overload Operators are compiler runtime directives that can be loaded at compile time or at runtime (means they can be dynamic). These can be compiled and optimized.
  544. Natural Language Statements... The, Is, Has, As, Set
  545. Natural Language Statement Prefix,  Tell Me, Show Me, Where, Who, Order, Group, Select
  546. reentrant function A (value)  { ... }  to save the context between calls. resets when return statement is the last line of the function, or a clear A; statement is executed before the first call
  547. values of a reentrant function are available after the call:   while (A(10)) { alert(A.count) };   reentrant function A(max) {  count = 0; while (count < max) { return true; }  return false };
  548. undefined or null valued operations,  text operator + is '' ,  number + is 0,  number * or / is 1, date is now();  A = undefined;  C = A + "Hello World";  (A = '')   D = 12.3 * A; ( A = 1)   E = 100 / A (A = 1)
  549. the balance scale, logical versus (productivity + benefits + cost + easy to remember), Always use the scale to make design decisions. (never a lemming mentality, but never change if it exists)
  550. contains, boolean search statement,  if (A contains "Apple" followed immediately by "Pear") { ... }
  551. function pass back arguments;  function A(a) {  b = 'apples'; c = a * 20; return b,c }   if ( A(5) (name,value) ) alert(name + ' = ' + value);
  552. distinguish between functions that modify the parent object and those that return a value;    A.sort();   B = A.sort(), move the modifier verb "sort" to the front,  sort A;  B = A.sort()
  553. define verb function keywords, verb function sort() { ... },   function sort() { ... }
  554. define "result" as a function's default return value, by default it is now undefined,  function A() { result = 1; return; }   function B(); { result=2;  return 1; }   both functions return 1
  555. "exit" statement, return to multiple entry points, or complete program;    function A() {  alert(B(1));  return; entry failed(reason) { .. } }   function B(n) { if (n != 1) exit failed("invalid argument"); return "clif" }
  556. multiple call stacks
  557. common misused terminology, "Percent" not quite ready for prime time. Fuzzy language use,  no word for the decimal percent representation. also Kilo-Byte  Mega-Byte (KB, KiB,  MB, MiB) not really
  558. fixed binary n-dimensional structure manipulation.  R and Python type language extensions without needing any documentation
  559. inline select, group by, order by and aggregate functions  A = {name:'clif',age:12,address:'7710 Janak'}; B = A where value = 'clif';
  560. getting rid of the Object and Array data types. All variable are the same; same arguments, same functions, same capabilities, same structure, same addressing.
  561. adjustable n-dimensional table coordinate system. By default table coordinate reference is top-left index 1.   A = matrix{csv{1,2,3,4\n 5,6,7,8\n 9,10,11,12}, origin{bottom right), index{0}  };   alert(A[0,0] ) = 12
  562. cell dimensional names. A[4,2,6] = 1; A..dimensions[1].name = 'row:rows';A..dimensions[2].name = 'column:columns'; A..dimensions[3].name = 'layer:layers';   alert(A.columnCount);
  563. to have a capability to handle exceptions and return with a solution
  564. recover statement. call stacked recovery entry points by name,  recover fileNotFound(args) ... similar to the throw statement except to a named entry point with or without a recovery solution
  565. solution statement returns a solution from a recover entry point, much like the switch statement.  recover fileNameFound('c:/temp/test.js') { solution ignoreFile(args) ...  solution blankFile(args) ... }
  566. capture statement, call stack recovery capture reentry points.  capture fileNotFound(filername) {  reenter ignoreFile(); }
  567. visualization of program structure for determination of nesting relationships during debugger, performance analysis and program layout. Might be useful for error reporting
  568. 8 byte integers (12, 16, 24, 32,.. byte integers). 4 byte value (signed) followed by 1 or more low order 4 byte integers (unsigned)  value = 132`0xFFFFFFFF  or x = 132; y = 4562; z=9005; value = x`y`z
  569. assembler registers A-M, a-m (skip L)  Uppercase = Signed integer, Lowercase = Unsigned integers, Suffixed with byte length 1-8, or H as in AH, BH, CH, DH, def length = 8  A = 132`0xFFFFF
  570. assembler bits register subrange A[61:63] bit 61 to 63 of register "A" a 64 bit register
  571. assembler keywords StackPointer, BasePointer, StackIndex, DataIndex, Flags, Carry, Zero, Parity, Overflow, Adjust, Direction, Identification, AllRegisters , CPUID, CR0, DB0,  X0 - X15 (xmm0 to xmm15)
  572. CPUID types: Processor, Vendor, Cache, SerialNumber, Thread, Features, Brand, L1, L2, Power, Address, AMD
  573. Externalize hardware registers CR, MS, DR, TR, DTR,...:  Registers.cpu[0], Registers.controls[0].protected,... Registers.debugs.breakpoints[0],... , Registers.feature.longModeEnabled,...
  574. extended math, 80bit floating point, 128 bit integers, infinite byte integers, BCD
  575. assembler register and JavaScript values in same expression, (values are automatically mapped to byte storage)  myValue = 167;  B4 = 4;  A4 = myValue * B4; alert(A2);
  576. machine independent numbering systems, 8 bit to 512 bit machine instructions same result, whole number, float, and fixed decimal numbers, variable length numbers (characters)
  577. #12,000.00 or $5,400.00 CR number format, also 24 currency symbols, dollars, yen, pound sterling,...  allows commas, variable sensitive place holder; thousands (comma)  A=45;   B=19;  C = #A,B.00;     C = 45,019.00
  578. distinction between INTEGERS and WHOLE NUMBERS  (A = -34 Integer, B = 56 whole number C = A + B (integer), independent of value, can it go negative?: Yes in this case, so integer
  579. number representation are now variable length, 0 to infinity digits, as well as strings, dates and floating points
  580. track constants A = 34 (constant whole number) , A = -34 (constant integer)
  581. dual access Objects, provide name and numeric access to Object properties  A = { name.3: "clif' }    alert(A[3] + ' = ' + A.name);  default = sort order dependent, (maybe get rid of "Array")
  582. numeric bits access  J = 127;  A = J[7:8] ;  J[9:12] = 3;  alert,hex(A); 0x7F   alert.hex(J);  0xE7F  (see also: constants and masks, items 53 & 54)
  583. logical assembler coding.  overcomes all hardware implementation limitations and logic  mov al, xmm0  forces a 64 bit register into an 8 bit register or any other not implemented hardware task, use a logical task
  584. optimization reporting, stupid human reporting of alternate / optimized solutions
  585. Object externalized name modification tagging.  A method to determine run-time name resolution as being static or dynamic (99.99% is static, the 0.01% forcing 100% run-time name resolution)
  586. infinite fixed bit size number array,  a = number~64bits:[ 1,2,3,4 ];  a[5] = 34; b = integer~1byte:[ -45, 56 ]; b[1] = 65;
  587. infinite size bit character array, a = text~32bit:[ 'Clif' ];  alert(a[0]);  C   alert.number(a[0])  68
  588. logical numbers not physical (i.e. 64bits), by default "Jane" numbers have infinite length, infinite precision but can also be defined as any fixed bit size  a = number~19bits;  b = number~7bytes
  589. "having the ability"  the concept of including actions that are both known and unknown to the compiler
  590. file and url units  a = "c:/temp/HelloWorld.tmp" file;  alert(a);  displays the content of the file.
  591. file read, write and append  a = "hello.txt" file;  a = "Hello World"; a += "\nfrom Jane"; alert(a);
  592. listing of files and folders in user server root folder, alert("" files); alert("" folders);
  593. compile time global constants, #name = "clif" strings, number #name = 10, and identifier #name = window.screen ,  if (#name) ...
  594. compiled programs are cache-able. Programs can now be run as p-code to protect your intellectual property rights. no longer need to send JavaScript to the client
  595. splintered objects, independent dependent values of an object.  A.name = "Clif",  A.SSN~HR = "111-44-6666"   physically separated / secured values of the same object
  596. kedge, is my term to anchor knowledge to a value. Information about or pertaining to a term. The qualitative and quantitative values relating to a term.  a~isSorted;  a~hasSecurity; a~external; a~loaded; a~modified;
  597. addition of arrays.  B = [0,1,2,3,4,5]  B += [6,7,8,9];

    2016 top
  598. confirm qualifiers,  confirm.yesno('continue ?')  yes-no, abort-retry, ok, yes-no-cancel, abort-retry, help, abort-retry-ignore
  599. search parent objects,  a = b.(up).companyName; search all parent paths for company name, also includes search criteria
    (by default search child objects, this includes parent objects into the search path)
  600. hybrid compiler, emulator for JavaScript logic when required, assembler CPU instructions used otherwise
  601. Access to ALL CPU instructions using JavaScript syntax R0 = 12;  R0 << 2;  if (! overflow)  a = R0;
  602. Math Expressions and Equations
  603. Chemical Expressions and Equations
  604. System Objects:  World, Global, Local,User,Array,Date,String,Number,Math,Devices,Network,File,Folder,Matrix,Font,Form,Graphic (vector, surface),Image,Person, Place,Thing,Idea,classified objects,  employee=person{}; contractor = employee{contractor:true}, Units,Chemical,Art,Music,Equations (math, chemical),Expressions (math, chemical)
  605. Aggregate functions (sum, average, minimum, maximum, count, frequency,...)  a = average(employees.(children).payrate)
  606. Hierarchical search  (term based: (mother, father, brother, sister, aunt,...) (company, division, department,...)  a = this.(brother.oldest)
  607. Network Objects (node based: Interstate-10 entrance ramps)  I10.wirt road.entrance.east bound.flow = 1605 average cars per hour;
  608. Connectivity Objects (junction based: transformer to transformer)  a = houston.(transformer=134529).amperage load per day;
  609. Segmented Objects (by value: i.e. year, month, age, company, ...)  a = Invoices.2017.July;
  610. In-line data types (a = b~integer) (a = b~real) (a = b~wholenumber) (a = b~text)  (used for assembler coding - run-time and compile-time resolved)
  611. asynchronous function calls (performs result assignment and re-continues to next statement when function finishes)
    1. Wait Until Done b = a.wait();   (blocked execution)
    2. Return When Done  b = a.return(); (unblocked execution)
  612. Music orchestras and scores programming
  613. Compile-able objects  a = {*  ... *}  (a cg2 formatted string that attaches to a known or unknown term)
  614. include JavaScript (browser's) <script> ... </script>
  615. optional "then" in an if statement  if (A) then ...  else ...
  616. inline include statements,  include "./apple.js";
  617. conditional compile  #if  #define  #end  #else  #then
  618. "alert" displays objects in a tree view
  619. function trace events  compiler~onfunctionenter = myOnFunctionEnter;  compiler~onfunctionexit = myOnFunctionExit
  620. trace logging log('enter function', functionName);
  621. Jane emulation with complete access to DOM model
  622. sub-functions in prototype of constructor
  623. sub-object for events and n-dimensional objects
  624. actionable objects   a = count:{ files:{*.js}, type='function' }
  625. "switch" statement with mini-function case evaluation,   case 1,2,3:  case in A:...  case >=0 && <=10 && ! (5,7) :...  case like "A*" && ! like ("Apple*") :
  626. "search" statement,  search (file:{"test.htm"}) { case "<" ...">": alert(result);  continue; }
  627. "exit" statement,  bypass call stack and clear all memory usage
  628. "process" statement,  exit executable code to update DOM model, then return
  629. "thread" create alternate process threads (simulated) run during "process" a statement ( really an event "onprocess")
  630. cascade assignments,  A~units = feet;   A.B = 10;  (A.B = 10 feet)    A~units=meters;  (A.B = 3.048 meters)
  631. singular / plurals  count = 5;  a = "{{count}} {{row^s^count}} were affected".eval;   5 rows were affected
  632. integrated system commands  delete files{jc://*.jpg}
  633. nested Logical  define jc = "user$current://projects/compiler/"
  634. logical operators A ==? B (ignore case with trim) A ==?? B (without trim) <?, <=?, >?, >=?, ==?, ===?    A ==# B (numeric compare) <# <=#, >#, >=#, ==#, ===#
  635. other compare operator in? like? in# like# also as functioncall A.sort#();
  636. switch statement numeric range case 1-100,202,203:
  637. replace ternary with a "condition" statement,  a = condition (A) a,b,c; (neg, 0, pos)  or a = condition (A) then a else b;  or b = condition (A) 1,5; (true / false) (optional then and else)
  638. compiler directives #A = 123;  #language='JavaScript';  instructions to the compiler and are also available at run-time
  639. #if and #end statements, conditional compilation (global) #A = 1; #if A;  alert(#A);  #end; not case sensitive and used by the compiler #language='JavaScript' and at runtime alert(#language);
  640. macro statement @a alert("%p1%"); a@;  a('clif');  may not be needed;  the assembler and other subsystems might require it for speed at the hardware level or for development speed
  641. language dependent statement for the management of "JavaScript" and "JC"  //~jane~ #language=JavaScript  treats source code as JavaScript until changed
  642. allow try finally without a catch, permit any order of catch finally

    2015 top
  643. emulated and compiled JavaScript
  644. A hybrid compiler, performs both emulation and compiled instructions simultaneously
  645. IPhone, Android, ARM, Windows, and console executables, (8,16,32 , and 64 bit machines)
  646. Windows forms (dialogs, components and subsystems)  a= new Form();  a.re = new Richedit();  a.open()
  647. browser statements
  648. assembler CPU instruction set statements R0 = a; R0 <<= 3;  if (overflow) alert('overflow');
  649. binary memory value access  a = c:/temp/test.obj; b = a~address;  alert(b.N2[0:7]);
  650. goto statement  goto 10
  651. no database, I/O, network, O/S, forms requires (all handled by Jane)
  652. block comment as a string a = /* hello */;
  653. block comment with a unique tag a =  /*~any~ .... ~any~*/;
  654. dynamic language extensions a = b cross c;
  655. natural language extensions height is fifteen feet
  656. units a = 10 feet * 14.3 inches;
  657. expressions a = a + 2;  a~expression has the array values of  [{op:"=", value:10 feet},  { op:"*", value:14.3 inches},  {op:"+", value:2 constant}]  (items 14 + 15)
  658. dynamic properties a = 10 feet; a~units = inches dynamic converts units, feet to inches 
  659. remove the need to declare local variables  a = 10;  alert(a) (local)
  660. force explicit .vs. implicit global declarations  window.a = 10;  alert(a);  (global)
  661. SQL   a = select name from employees where...   complete syntax (group by, order by, joins, aggregate functions, top, selects of selects ...) 
  662. variable length binary values ***
  663. mutable strings A ="clif";  A[0] = 'C';
  664. Matrix object m = new Matrix(2,4,4);
  665. Matrix math m *= 15
  666. String Templates evaluations   a = "Hello from {{name}}".eval;  b = "Hello {{name}}"; alert(b.eval);
  667. URL and file type alert(c:/temp/test.csv);  show file's content
  668. loop statement loop m(a,b,c,value) { ... }
  669. Bits object b = new Bits(1:6,12,20:50)
  670. sub-range object b = a[3:7] or b = a[9:-7]
  671. assembler functions (direct hardware access) 
  672. binary functions (to work on binary structures)
  673. remove closure, use bind
  674. flatten operator "..." search an object for a variable name or a value.  b = a...age; b = a..."chevy";
  675. A in ( list ) a in (12,13,15,19)
  676. A like ( wildcard-list ) a like ('a*','b*');
  677. A contains ( wildcard-list ) 
  678. all values are objects  a = "clif";  a.type='person';
  679. a "world" object (all machines)  alert(world.Collins Software.employees)
  680. blanks in variable names  my database = world.Mircrosoft Access.db1.mdb;
  681. a "local" object (local machine)
  682. a "user" object (user specific)
  683. undeclared variable event
  684. expanded alert output: values, objects, arrays, matrix, files, and URLs  alert(a,b,c);
  685. locals of functions as an array a = 12; return locals
  686. call stack access,  a = parentLocals
  687. function name locals.functionName;
  688. "this" propagates to sub-functions of parent
  689. library card (all known knowledge, is it sorted, what is the height/width, does it exist )
  690. delayed fetch of value until actually needed
  691. IC technology (Infinite Continuous) segmented data fetch
  692. tokens / compile / link functions
  693. qualified function names function car.print()  function prototype linkage
  694. integer, counting numbers, and real numbers  a = 12; b = 12.0   a is integer,  b is  real, propagates thru math operations
  695. create / change / delete events, (triggers)
  696. index constants, (enumerated variables) constants a = [apple,pear,banana]  apple = 0, pear=1, banana=2 (a is an array of names)
  697. bit mask constants  masks b = [apple:4,pear,banana]  apple = 0x0F, pear=0x10,banana=0x20 (b is an array of integers )
  698. Math expressions (trace, log and evaluation)
  699. Access to call stack, and calling routines
  700. JavaScript compiler / parser a = compile('b = 1; c = 4; alert(b*c)');  a.run();
  701. Time units kept, GMT,  UTC (GMT +/- seconds),  Time zones (GMT +/- hours)
  702. Time units to femtoseconds 10-15
  703. Time and Date duration infinite (as GMT or UTC (GMT +/- seconds))
  704. Calendar Date infinite, independent of time (no fuzzy dates)
  705. prompt specific dialogs (file, files, save-as, find-replace, color, font, folder)
  706. prompt similar to MessageBox



Other Suggestions for future enhancements

  1. extending the programming character set (keypad keyboard mapping):  ■□►◄√∫∞∓℄∈∃≅⌆⌁⌱⍾♪♫ ⌂ ♦ ☼ Ω ● ∆ ░ ▓ ↔ ‡ Ʌ Ř ÷ » « ¶ ¦ Ʉ Ѻ ₥ ₩ ‰ Φ

    « »
    ├  ┤
    keypad 0
    keypad enter
    keypad 5
    keypad 7
    keypad 4
    keypad 1
    keypad / and *
    keypad 8 and 9
    soft tab
    soft new line
    soft new paragraph
    soft new section
    soft new record
    soft new field
    template replace quantity
    more quantity brackets
    0x11 (17) <DC1 - device control 1>
    0x12 (18) <DC2 - device control 2>
    0x1D (29) <GS - group separator>|
    0x1F (31) <US - Unit separator>
    0x1E (30) <RS - Record separator>
    0x0B (11) <VT - vertical tab>
    0x0E (14) <SO  - shift out>  ...    0x0F (15) <SI  - shift in>
    0x02 (02) <STX - start of text> ... 0x03 (03) <ETX - end of Text>

    need a new font to use the existing control characters

  2. case insensitive
  3. no reserved keywords
  4. natural language Assembler,  if not carry  { ... }