Yes, we'll need Jim's advice as I am equally confused! Your grammar
looks correct in BP1 syntax. I am not sure that spaces are required and
even allowed, because BP1 used to bind together terminal symbols and
space only according to the specified tempo, if any, for instance "/4"
to create blocks of 4 terminal symbols.
I will document the setting up of the emulation so that Jim can easily
set it up. I will then send him your message to ask for explanations.
I won't upload the diskette of "Mr Robot" Apple II game, otherwise you
might just stop doing anything else :-)
Bernard
Anthony Kozar wrote on 19/08/2020 19:54:
> Bernard,
>
> I have been able to figure out how to load, save, and edit (mostly)
> alphabets, data, and grammars. The interface is fairly intuitive and
> vaguely familiar after having used BP2. I like the "smart cursor"
> feature that skips over each bol/token with a single press of the
> arrow key! :)
>
> I have tried to derive something from a grammar but I am probably not
> understanding the correct way to do so. I'm also not sure what the
> lexical requirements are for variables and terminals. I created an
> alphabet with the symbols C4, D4, E4 ... C5, D5 and started creating a
> grammar with them, then it occurred to me that BP1 might think they
> are variables since it has no notion of simple notes (right?). So, I
> added q,w,e,r,t,y to my alphabet and finished my grammar like this:
>
> S --> C4 D4 E4
> C4 --> q C4 r
> D4 --> w e
> D4 --> e w
> E4 --> t y
> E4 --> y t
> C4 --> D4
> C4 --> E4
>
> (I included spaces after each token in the alphabet. I don't know if
> that is valid but it does display the way I wanted it to in the Data &
> Grammar editors).
>
> When I select "Compute" from the Grammar menu, I am taken to the first
> data item and asked if I want to "Revise processing?". I don't know
> what that means. I reply "Y" to that and "Step by Step?" and then BP1
> beeps and displays the item (unchanged) along with the menu "Q)uit
> P)rint R)epeat K)eep ..."
>
> Sometimes I get a different sequence of prompts for "Compute"
> including "First grammar?" and "Last grammar?" followed by the menu
> "A)nalyse S)ynthesize D)estroy structure ..." I reply with 1, 1, and
> S for Synthesize, "N" to "Create templates?" and "Systematic
> tree-search?", "Y" to "Step by Step?" and I'm back at the menu "Q)uit
> P)rint R)epeat K)eep ..." with no change or derivation of the item.
> (I performed these steps starting from the Data menu for an item
> containing only "S"). *shrug*
>
> There is no need for you to try to explain right now what is happening
> and where I am going wrong. As you said in your message, you "have
> not yet found the way of producing items!" either. ;-) I can wait
> until you have time to consult with Jim Kippen and/or to work it out
> on your own.
>
> I'm curious to hear what the "Sound" option does but I think you may
> be right that Catakig may not be fully functional in that area. I
> hear nothing when I choose that option from the menu. (But I also
> have no idea what sort of data is required for it to work).
>
> Well, BP1 is lots of fun. It's tempting to keep playing with it
> instead of working on other things. ;-) But there are issues to
> address in email and the BP3 code.
>
> Anthony
>
> P.S. I also had to read the Catakig User Guide just to figure out how
> to turn the Apple II on. Not very intuitive. :(
>
>
> On 8/19/20, 1:08 AM, Bernard Bel wrote:
>> This is very encouraging!
>>
>> Next week I will post a tutorial on http://bolprocessor.org to explain
>> how to install an emulator and start running BP1. Make it easier to find
>> the Apple IIe ROM and "create" the machine, then how to insert diskettes
>> in the proper "drive".
>>
>> I may suggest running one of the free-of-charge emulators. I tried
>> catakig and it worked after figuring out (from their user guide) that
>> you need to press the space bar to "switch it on" when snow appears on
>> the screen. ;-)
>>
>> True, usage of the "control" key wasn't evident as it was the one
>> located near the space bar…
>>
>> This latest version of BP1 was also making sounds in the Apple II
>> speaker. This was fun but useless for research! With virtualii we can
>> make sounds. I am not sure catakig will do it.
>>
>> I have not yet found the way of producing items! Jim Kippen probably
>> will remember. Then we'll write a new tutorial. There was one in the
>> past but it got lost, some AppleWriter file…
>>
>> I also plan return to Marseille and transfer more data disks. All these
>> 40-year old floppy disks were read without difficulty! :-)
>>
>> Bernard
>
>
> _______________________________________________
> bolprocessor-devel mailing list
> bol...@li...
> https://lists.sourceforge.net/lists/listinfo/bolprocessor-devel
|