please dont rip this site

NEW202109.TXT

 

ON 20210902@10:00:43 AM at page:
On a web page you were interested in at:
http://techref.massmind.org/Techref/language/html/ib/Scripting_Reference/om.htm#
James Newton[JMN-EFP-786] edited the page. Difference:
http://techref.massmind.org/techref/diff.asp?url=\Techref\language\html\ib\Scripting_Reference\om.htm&version=0



ON 20210902@10:01:42 AM at page:
On a web page you were interested in at:
http://techref.massmind.org/Techref/language/html/ib/Scripting_Reference/om.htm#
James Newton[JMN-EFP-786] edited the page. Difference:
http://techref.massmind.org/techref/diff.asp?url=\Techref\language\html\ib\Scripting_Reference\om.htm&version=1



ON 20210903@12:01:06 PM at page:
On a web page you were interested in at:
http://ecomorder.com/Techref/ecommerce/index.htm#44440.6169791667
James Newton[JMN-EFP-786] removed post 44440.6169791667

|Delete '

   <LI>'



ON 20210903@12:01:22 PM at page:
On a web page you were interested in at:
http://piclist.com/Techref/ixtiphlp.htm#44440.542337963
James Newton[JMN-EFP-786] removed post 44440.542337963

|Delete '
</UL>'



ON 20210903@12:01:54 PM at page:
On a web page you were interested in at:
http://www.piclist.com/Techref/piclist/index.htm#44440.2784259259
James Newton[JMN-EFP-786] removed post 44440.2784259259

|Delete '

   <LI>'



ON 20210903@12:02:12 PM at page:
On a web page you were interested in at:
http://ecomorder.com/Techref/ecommerce/index.htm#44439.7307060185
James Newton[JMN-EFP-786] removed post 44439.7307060185

|Delete '

   <LI>'



ON 20210903@12:02:26 PM at page:
On a web page you were interested in at:
http://massmind.org/Techref/io/keyboard.htm#44439.0677083333
James Newton[JMN-EFP-786] removed post 44439.0677083333

|Delete '

   <LI>'



ON 20210903@12:03:44 PM at page:
On a web page you were interested in at:
http://www.massmind.org/Techref/idea/websites.htm#44438.8832291667
James Newton[JMN-EFP-786] removed post 44438.8832291667

|Delete '

   <LI>'



ON 20210903@12:04:00 PM at page:
On a web page you were interested in at:
http://www.sxlist.com/Techref/scenix/index.htm#44438.3604513889
James Newton[JMN-EFP-786] removed post 44438.3604513889

|Delete '

   <LI>'



ON 20210903@12:04:15 PM at page:
On a web page you were interested in at:
http://www.piclist.com/Techref/piclist/index.htm#44437.369849537
James Newton[JMN-EFP-786] removed post 44437.369849537

|Delete '
</UL>'



ON 20210903@12:04:44 PM at page:
On a web page you were interested in at:
http://ecomorder.com/Techref/ecommerce/index.htm#44437.0610069444
James Newton[JMN-EFP-786] removed post 44437.0610069444

|Delete '

   <LI>'



ON 20210903@12:05:13 PM at page:
On a web page you were interested in at:
http://www.sxlist.com/Techref/ecommerce/contactmgmt.htm#44436.4045949074
James Newton[JMN-EFP-786] removed post 44436.4045949074

|Delete '

   <LI>'



ON 20210906@8:07:49 PM at page:
On a web page you were interested in at:
http://techref.massmind.org/Techref/io/keyboard.htm#44445.8387615741
James Newton[JMN-EFP-786] See also:
https://hackaday.com/2021/08/30/chordie-chording-keyboard-speaks-no-qwerty/
3D printed case and individual switches, but the trackball is the best.



ON 20210907@11:28:43 AM at page:
On a web page you were interested in at:
http://techref.massmind.org/Techref/io/usb/OTG.htm#
James Newton[JMN-EFP-786] edited the page. Difference:
http://techref.massmind.org/techref/diff.asp?url=\Techref\io\usb\OTG.htm&version=0



ON 20210908@9:11:45 AM at page:
On a web page you were interested in at:
http://www.sxlist.com/Techref/scenix/index.htm#44446.592025463
James Newton[JMN-EFP-786] removed post 44446.592025463

|Delete '
</UL>'



ON 20210908@9:12:29 AM at page:
On a web page you were interested in at:
http://www.piclist.com/Techref/piclist/index.htm#44445.8774884259
James Newton[JMN-EFP-786] removed post 44445.8774884259

|Delete '

   <LI>'



ON 20210908@9:22:39 AM at page:
On a web page you were interested in at:
http://ecomorder.com/Techref/ecommerce/index.htm#44443.291712963
James Newton[JMN-EFP-786] removed post 44443.291712963

|Delete '

   <LI>'



ON 20210908@9:24:17 AM at page:
On a web page you were interested in at:
http://massmind.org/Techref/io/keyboard.htm#44443.2916203704
James Newton[JMN-EFP-786] removed post 44443.2916203704

|Delete '

   <LI>'



ON 20210910@8:59:31 AM at page:
On a web page you were interested in at:
http://piclist.com/Techref/language/ccpp/convertbase.htm#44447.999849537
James Newton[JMN-EFP-786] removed post 44447.999849537

|Delete '

   <LI>'



ON 20210910@10:42:59 AM at page:
On a web page you were interested in at:
http://techref.massmind.org/Techref/idea/minimalcontroller.htm#44449.4465162037
James Newton[JMN-EFP-786] Questions:

I was looking at the opcodes in the ABC language, most just set an operation and do nothing else. Quote is special, because it works more as a destination or source than an operation. (everything is destination, operation, source [,operation][,source]...) 
<P>
If a variable has been set as the destination, and quote turns up as the source, the current memory address is put into the variable, and the text in quotes is copied into memory until the ending quote. Double quotes put a quote in memory (if the prior opcode was quote, and the new character is quote, that's a quote to memory, not a quote opcode.) So that's how subroutines are defined. When you send that letter again, followed by an ending parentheses, the PC is pushed to the "stack" (pointed to by the 's' variable) and the letters value is loaded into PC. Hopefully the string in memory ends with a period which will pop the TOS into PC.
<PRE>
a:"b:b+1."
a)
</PRE>
Defines "a" as a function that increments b.
<P>
And if the destination is a device, the source string, bounded by quotes, is just copied to the device. So hello world is:
<PRE>
T:"Hello World!"
</PRE>
Where "T" is the terminal. Colon is the "copy" or "define" operator. In this case, it's not really needed.
<P>
But then I thought, what about the quote as a destination? It really has no meaning... oh... what if it were a "match" destination? E.g. what if it took the following characters and put them into memory, and then matched future input against those characters and set the true / false flag depending on if they matched or not? You could write programs like:
<PRE>
"hi"|"hello"|"sup?"?T:"Hello!"
"bye"|"laters"|"out"?T:"Goodbye!"
</PRE>
Note that the starting quote starts a match. Quote is destination. Let's say you typed 'z'. That match fails, and so the quote destination skips to an ending quote, consumes it, sets the true/false flag to false, then sets the destination to null, clearing the way for a new destination. This is done because the quote destination has completely failed... there IS no destination. That means the vertical bar (or) is set as an operation with no destination. Then the next quote destination also fails, and /would/ set the flag to false, but notices that the operation of OR is in place, so it ORs it's false into the prior flag and clears the operation. And so on. We end up with the false flag set when we reach question mark and that causes a skip past EOL, which then sets everything back to nothing for the next line.
<P>
Anyway that reminded me of the old BNF form (Backus–Naur) which I always loved, and made me hope that I could use ABC as a cool little grammar parser! That would make it a language for defining new languages. 
<P>
But the issue is backtracking. It requires a buffer, and probably tokenizing via space or some other delimeter. I think if they were very carefully arranged, you could avoid that. If the quote destination only accepts new characters that match it's string, and skip to the ending quote as soon as the current character doesn't match, you could carefully construct a program that doesn't need buffering or tokenizing. e.g. 
<PRE>
h:"T:""Hello!"""
"h"?"i"?h)!"ello"?h)
</PRE>
A better example would have used something starting with "h" and resulting in "Goodbye!" but I couldn't think of such a word. You get the idea. 
<P>
Another possibility is to have a small buffer, and when input matches a string partially, then fails, push the content of the string up to that point back into the buffer. It has to match what was typed before. 
<P>
Of course, the obvious solution is just to tokenize on spaces or enter and use a buffer. But I honestly see this as most useful in a tiny processor doing things like decoding messages from other devices. e.g. from a GPS or some test equipment or something. And it's generally more of a thought experiment anyway.



ON 20210913@8:50:14 AM at page:
On a web page you were interested in at:
http://www.piclist.com/Techref/piclist/index.htm#44451.0419907407
James Newton[JMN-EFP-786] removed post 44451.0419907407

|Delete '
</UL>'



ON 20210914@9:20:08 AM at page:
On a web page you were interested in at:
http://ecomorder.com/Techref/ecommerce/index.htm#44453.311724537
James Newton[JMN-EFP-786] removed post 44453.311724537

|Delete '

   <LI>'



ON 20210914@9:20:30 AM at page:
On a web page you were interested in at:
http://piclist.com/Techref/language/ccpp/convertbase.htm#44452.4736342593
James Newton[JMN-EFP-786] removed post 44452.4736342593

|Delete '

   <LI>'



ON 20210914@8:00:12 PM at page:
On a web page you were interested in at:
http://techref.massmind.org/Techref/ideas.htm#44453.8334722222
James Newton[JMN-EFP-786] Says

Why aren't captions shown in the shape of a mouth? Warp the text into the shape a mouth would make saying those words.



ON 20210915@8:46:28 AM at page:
On a web page you were interested in at:
http://www.piclist.com/Techref/piclist/index.htm#44454.0108449074
James Newton[JMN-EFP-786] removed post 44454.0108449074

|Delete '

   <LI>'



ON 20210915@3:16:46 PM at page:
On a web page you were interested in at:
http://techref.massmind.org/Techref/language/java/script/tutorial.htm#
James Newton[JMN-EFP-786] edited the page. Difference:
http://techref.massmind.org/techref/diff.asp?url=\Techref\language\java\script\tutorial.htm&version=3



ON 20210916@5:22:33 PM at page:
On a web page you were interested in at:
http://www.piclist.com/Techref/piclist/index.htm#44455.4268518519
James Newton[JMN-EFP-786] removed post 44455.4268518519

|Delete '

   <LI>'



ON 20210918@12:07:46 PM at page:
On a web page you were interested in at:
http://techref.massmind.org/Techref/io/motors.htm#44457.5053935185
James Newton[JMN-EFP-786] See also:
https://mjbots.com/
Lost cost, powerful, BLDC motor controller. Open Source.



ON 20210920@10:51:27 PM at page:
On a web page you were interested in at:
http://techref.massmind.org/Techref/language/java/script/games.htm#44459.9523958333
James Newton[JMN-EFP-786] See also:
https://sszczep.github.io/ray-casting-in-2d-game-engines/
Ray Casting makes 2D games looks like 3D



file: /Techref/new202109.txt, 20KB, , updated: 2021/9/20 22:51, local time: 2021/9/21 12:37,
TOP NEW HELP FIND: 
3.236.55.22:LOG IN

 ©2021 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://ecomorder.com/techref/new202109.txt"> new202109</A>

Did you find what you needed?

 

Welcome to ecomorder.com!

 

Welcome to ecomorder.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .