[TW5] SPilot4Tw Plugin (a programming language for TW5)

129 views
Skip to first unread message

xanato...@gmail.com

unread,
Feb 28, 2017, 8:48:45 PM2/28/17
to tiddly...@googlegroups.com
Hello all,

I have created a programming language for use in Tiddlywiki as plugin.

The plugin and its documentation can be found here: https://www.quaraman.de/tw/pilot.html .

Because I use it on a daily basis, I can say it is stable.

But a lot of questions are in my mind:

1. Is it so usable that not only me can use it?
2. Breaks the plugin some Tiddlywiki plugin standard?
3. Is the documentation understandable for a user?

Mat

unread,
Feb 28, 2017, 9:37:00 PM2/28/17
to TiddlyWikiDev
Hupp! Didn't see that one coming! Wow! :-D

The technical documentation on it seems very exhaustively covered (Well done, to say the least!)
I'd love to see a full example of how it is applied. Maybe the Leitner cards is an application (yes?) but maybe you could show it in action too? A programme, that can run.

Also, for an end user, and beyond coolness and pure fascination (of which I imagine there can be much!), is there practical value in using SPilot4Tw? I mean, does it perhaps simplify writing wikitext macros? Or maybe it enables creating things that can currently only be made with JavaScript in TW? Or something else?

Thank you xanato!!

<:-)

xanato...@gmail.com

unread,
Feb 28, 2017, 10:09:30 PM2/28/17
to TiddlyWikiDev
Now I have in the documentations wiki a Example Tiddler, where all examples are listed.

With this language/plugin you can write in a tiddler a pilot program that can manipulate the wiki or give you an interview .

The end user of this language is not able to run javascript with it, but to make interactive programs that can be used in various places.

For example, how about a program that calculates your weight trend? (See

Hackdiet Trend Calc example)


And this result can be saved to a tiddler with another command.


So you can have a simple database with simple programs.


The documentation is in a state that it is showable for others ( I hope ).


I am on the way to complete it.


And this is why I post about it, because someone else must also be able to read the documentation.
So it is interesting for me to hear what is needed to reach that goal.

BJ

unread,
Mar 1, 2017, 1:04:02 PM3/1/17
to TiddlyWikiDev
wow! very impressive!
is it possible to display questions from tiddlers? I mean it is possible to compile the tiddler to html, and them html could be output...

all the  best
BJ

xanato...@gmail.com

unread,
Mar 1, 2017, 1:19:16 PM3/1/17
to TiddlyWikiDev
If you mean that you want to display html during the execution of a pilot program: yes, the output is rendered  trough tiddlywiki html renderer.

If you mean that you want to use the compiled code in a static page without the plugin: no.

It exist a possibility to create a plugin from your program, but this I have not yet tested enough.
This use some TW5 Api that can create a plugin in the browser.

But you can load contents of another Tiddler Field :


<pilot>
VAR(test):
TL: test = HelloTiddler|text
T: Here comes the text from the HelloTiddler : %test%
</pilot>

Thomas Elmiger

unread,
Mar 1, 2017, 3:23:22 PM3/1/17
to TiddlyWikiDev
Hi xanato

Very impressive, historically interesting and entertaining, thank you! My remarks and questions:

* Your tiddler about the language is named Pilot – shouldn't this be PILOT?
* You say that you use it regularly – can you tell us what for (use cases: teaching IT? teaching other subjects? Tests, tutorials for students? …)?

More examples and maybe a tutorial for one of them would be great!

All the best,
Thomas

Pit.W.

unread,
Mar 1, 2017, 3:37:10 PM3/1/17
to tiddly...@googlegroups.com

Xana,

this is unbelievable. It is like building a mountain(SPilot4TW) on a mountain (TW) on a mountain (Java) on a cloud (Jeremy's dream)

I think it has more commands / expressions than my old Sinclair Spectrum, which carried me on for several years

This is worth starting some serious learning again

Thanks!


1. Is it so usable that not only me can use it? I think so, will try hard
2. Breaks the plugin some Tiddlywiki plugin standard? Will find out, and if - who cares. May the standards adapt
3. Is the documentation understandable for a user? No. Users (like me) do never understand documentation, they just try until they drop dead at 4am:)

Pit

--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/eceb4219-0a58-4ab1-8b97-1cdf43f5a79a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.




xanato...@gmail.com

unread,
Mar 1, 2017, 5:11:11 PM3/1/17
to TiddlyWikiDev

Very impressive, historically interesting and entertaining, thank you! My remarks and questions:

 

* Your tiddler about the language is named Pilot – shouldn't this be PILOT?

You are right it is corrected.
 
* You say that you use it regularly – can you tell us what for (use cases: teaching IT? teaching other subjects? Tests, tutorials for students? …)?

More examples and maybe a tutorial for one of them would be great!


One example is that I learn memory techniques with it.

Another example is that I create with it buttons that when pressed create Tiddler with calculated attributes.

In the documentation I write some more examples in the next days.
Reply all
Reply to author
Forward
0 new messages