BAM: New Font-Weight setting for IDE
#5
(07-27-2023, 02:26 PM)grymmjack Wrote:
CharlieJV Wrote:Man, there aren't enough hours in a day and days in a lifetime.

No doubt!

So a few comments / questions on things:
- TiddlyWiki - is this your project too?
- I love the dot graph for the dependency tree - that is fantastic. @RhoSigma we should consider something like this for QB64 as a tool. It's super helpful. Granted, not everyone (ab?)uses $INCLUDE like that, but...
- Does TiddlyWiki allow embedding of BAM?
- I tried TiddlyWiki and with the drop down selectors, it was interesting but kind of foreign to me. Have you thought about maybe an easier UI approach than a <SELECT> ?

[...]

<3

Quick partial reply as I start my lunch break, and gather myself for a pre-lunch bit o' cardio...

Oh no, TiddlyWiki is not my baby, that is Jeremy Ruston's beautiful brain-child.

The dependency tree and BAM's "include" mechanism are still works in progress that have been gathering dust, as everything is a shiny object grabbing my attention.  I look forward to getting back into that, refining both "include" and the dependency tree to catch recursion issues.

BAM is a TiddlyWiki instance made to not look like a TiddlyWiki instance.  Anybody can take the "tiddlers" (i.e. wiki pages) in BAM and drag them into any other TiddlyWiki instance to turn that TiddlyWiki into a BASIC Anywhere Machine.  (Well, I'm a few versions of TiddlyWiki behind with BAM; I don't like the new versions much, and I only ever upgrade anything when it hurts too much not to.  But anything BAM should work in any new version of TiddlyWiki just fine because of backwards compatibility.)

When exporting a BAM program, there are many options, one of them being the ability to export a JSON package with just the necessaries to run the program in any TiddlyWiki instance.  Drag and drop that JSON export package into any TiddlyWiki instance, and a .bas tiddler will have a "RUN" button on it to launch the program.

I'm not quite sure what you are asking about the SelectWidget in TiddlyWiki.  As far as drop-down boxes go, the implementation is pretty easy:

Code: (Select All)
<$select tiddler='Some Tiddler' tooltip='Choose a title'>
  <option>A Tale of Two Cities</option>
  <option>A New Kind of Science</option>
  <option>The Dice Man</option>
</$select>

The code above sets up a drop-down list, with the items.  When a selection is made, the value is put in the tiddler called "Some Tiddler".  Since no tiddler field is specified, the selected value will go in the tiddler field called "text".

Implementation-wise, that seems pretty simple to me.  The syntax is generally very HTML-like.

As far as user-interface, a drop-down list is pretty easy to use, and wonderfully does not take much screen real-estate.

I'm probably on a wild tangent there: you'll have to clear up for me what you're thinking.
Reply


Messages In This Thread
RE: BAM: New Font-Weight setting for IDE - by CharlieJV - 07-27-2023, 04:39 PM



Users browsing this thread: 3 Guest(s)