Intellisense - Tries Auto-Completion: Difference between revisions

From NARS2000
Jump to navigationJump to search
(Trie Structure: Created page for task)
 
m (added quad NL, edit changes)
 
Line 3: Line 3:
System Programming Task in C: <u>Introduce into NARS: Auto-Completion</u> of variable names, function names, and labels (with the TAB key, for instance).<br><br>
System Programming Task in C: <u>Introduce into NARS: Auto-Completion</u> of variable names, function names, and labels (with the TAB key, for instance).<br><br>


# Such a feature might best be an on/off option, such as setting up a keyboard layout, except with the ability to turn it on/off from within NARS.<br><br>
# Such a feature might best be an on/off option, such as setting up a keyboard layout, except with the ability to turn it on/off from '''within''' NARS.<br><br>
# It should probably be tied in to NARS System Function ⎕NC, APL's name classifications function, ref. '''[http://wiki.nars2000.org/index.php/System_Function_NC NARS Quad NC]'''.<br><br>
# It should probably be tied in to NARS System Functions ⎕NC and ⎕NL, APL's name classifications and names list functions respectively, ref. '''[http://wiki.nars2000.org/index.php/System_Function_NC NARS Quad NC]''' and '''[http://wiki.nars2000.org/index.php/System_Function_NL NARS Quad NL]'''.<br><br>
# It is also called '''Intellisense''' within Visual Studio 20xx and programmatically referred to as a '''Trie''' structure in Computer Science: a Trie, also called digital tree and sometimes radix tree or prefix tree (as they can be searched by prefixes), is an ordered tree data structure that is used to store a dynamic set or associative array where the keys are usually strings, ref. [https://en.wikipedia.org/wiki/Trie Wikipedia entry].  Google's search feature uses the concept, as does the Android OS.  Here is a link to implementing an algorithm, re [http://rmandvikar.blogspot.com/2008/10/trie-examples.html Google Trie example].<br><br>
# It is also called '''Intellisense''' within Microsoft's Visual Studio 20xx and programmatically referred to as a '''Trie''' structure in Computer Science: a Trie, also called digital tree and sometimes radix tree or prefix tree (as they can be searched by prefixes), is an ordered tree data structure that is used to store a dynamic set or associative array where the keys are usually strings, ref. [https://en.wikipedia.org/wiki/Trie Wikipedia entry].  Google's search feature (and Internet Explorer's search box and web pages address textbox) uses the concept, as does the Android OS - particularly for text messaging where word suggestions become invoked for the current [partial] word being typed in and or contextually/definitionally relevant '''<u>suggestions</u>'''.  Here is a link to implementing an algorithm, re [http://rmandvikar.blogspot.com/2008/10/trie-examples.html Google Trie example].<br><br>
# Interesting do it yourself Intellisense project or DIY Intellisense, ref. '''[http://www.codeproject.com/Articles/5839/DIY-Intellisense Intellisense DIY Code Project]'''. Another C Implementation: '''[http://simplestcodings.blogspot.com/2012/11/trie-implementation-in-c.html Trie implementation in C]'''. Still another C Implementation / C Code for Radix Tree or Trie: '''[http://programminggeeks.com/c-code-for-radix-tree-or-trie/ C code for Radix Tree (or Trie)]'''.<br><br>
# Interesting do-it-yourself Intellisense project or DIY Intellisense, ref. '''[http://www.codeproject.com/Articles/5839/DIY-Intellisense Intellisense DIY Code Project]'''. Another C Implementation: '''[http://simplestcodings.blogspot.com/2012/11/trie-implementation-in-c.html Trie implementation in C]'''. Still another C Implementation / C Code for Radix Tree or Trie: '''[http://programminggeeks.com/c-code-for-radix-tree-or-trie/ C code for Radix Tree (or Trie)]'''.<br><br>


<p>Actually programming the interface into NARS is not impossible. It would be less easy than implementing a new system quad function into NARS, which can frequently be no easy task in and of itself, but again not impossible.  The above hyperlinks were valid as of 9/26/2015.</p><br>
<p>Actually programming the interface into NARS is not impossible. It would be less easy than implementing a new system quad function into NARS, which can frequently be no easy task in and of itself, but again not impossible.  The above hyperlinks were valid as of 9/26/2015.</p><br>

Latest revision as of 17:52, 26 September 2015

Intellisense - Trie Structure - Auto-Completion for APL variable names, function names and labels.

System Programming Task in C: Introduce into NARS: Auto-Completion of variable names, function names, and labels (with the TAB key, for instance).

  1. Such a feature might best be an on/off option, such as setting up a keyboard layout, except with the ability to turn it on/off from within NARS.

  2. It should probably be tied in to NARS System Functions ⎕NC and ⎕NL, APL's name classifications and names list functions respectively, ref. NARS Quad NC and NARS Quad NL.

  3. It is also called Intellisense within Microsoft's Visual Studio 20xx and programmatically referred to as a Trie structure in Computer Science: a Trie, also called digital tree and sometimes radix tree or prefix tree (as they can be searched by prefixes), is an ordered tree data structure that is used to store a dynamic set or associative array where the keys are usually strings, ref. Wikipedia entry. Google's search feature (and Internet Explorer's search box and web pages address textbox) uses the concept, as does the Android OS - particularly for text messaging where word suggestions become invoked for the current [partial] word being typed in and or contextually/definitionally relevant suggestions. Here is a link to implementing an algorithm, re Google Trie example.

  4. Interesting do-it-yourself Intellisense project or DIY Intellisense, ref. Intellisense DIY Code Project. Another C Implementation: Trie implementation in C. Still another C Implementation / C Code for Radix Tree or Trie: C code for Radix Tree (or Trie).

Actually programming the interface into NARS is not impossible. It would be less easy than implementing a new system quad function into NARS, which can frequently be no easy task in and of itself, but again not impossible. The above hyperlinks were valid as of 9/26/2015.