Search found 237 matches

by SamuraiCrow
Wed Sep 25, 2019 7:07 pm
Forum: General programming
Topic: Anyone done script system that is written to a file?
Replies: 14
Views: 448

Re: Anyone done script system that is written to a file?

My suggestion to you is this: write the interpreter using nested tables first. You can export your table format to a JSON file later to see what it looks like and use the JSON importer to read your changes back in. The only problem I can see with using JSON is that Hollywood uses tables to represent...
by SamuraiCrow
Tue Sep 24, 2019 3:12 pm
Forum: General programming
Topic: Anyone done script system that is written to a file?
Replies: 14
Views: 448

Re: Anyone done script system that is written to a file?

Running the script will require the array to be formatted as line number as a key and command table as a value. The command table will have the keyword string as the key and the parameter array as a value. The parameter array can contain expressions or terminal values but still use the parameter ord...
by SamuraiCrow
Tue Sep 24, 2019 2:40 pm
Forum: General programming
Topic: Anyone done script system that is written to a file?
Replies: 14
Views: 448

Re: Anyone done script system that is written to a file?

ReadTable and WriteTable will help with serialization of your language assuming it's formatted as a dynamic Array.
by SamuraiCrow
Tue Sep 24, 2019 2:36 pm
Forum: Wishlist
Topic: Shuffle Table
Replies: 3
Views: 117

Re: Shuffle Table

Rnd(1) gives 1 possible integer value of 0

Rnd(2) gives 1 of 2 possible values: 0 or 1. This is due to the range select value being applied as a modulo operation.
by SamuraiCrow
Sun Sep 22, 2019 8:08 pm
Forum: Announcements
Topic: The Awesome Autumn iOS Plugin Bash 2019
Replies: 6
Views: 405

Re: The Awesome Autumn iOS Plugin Bash 2019

sashapont wrote:
Sun Sep 22, 2019 12:01 pm
Now we will wait for RapaGUI for iOS! :)

And please give full working example with interaction Hollywood and standard iOS interface.
Even if a RapaGUI XML to XIB conversion would help. Do you know if the XIB file specification is available?
by SamuraiCrow
Mon Sep 09, 2019 12:27 am
Forum: General questions
Topic: Bug? "Table field was not initialized
Replies: 2
Views: 297

Re: Bug? "Table field was not initialized

Internally, I think string keys are made lowercase if you use the dot notation. You're using the dot notation to try to look at a table element that is uppercase. Try either using the square brace notation in your lookup or make the keys lowercase in your assignment.
by SamuraiCrow
Sun Sep 01, 2019 11:09 pm
Forum: Newbie questions
Topic: Example Linux arm + Rasberry pi 3 B + does not run
Replies: 11
Views: 377

Re: Example Linux arm + Rasberry pi 3 B + does not run

What version of Raspbian are you running? (Or are you using another Linux?)
by SamuraiCrow
Wed Aug 21, 2019 5:46 pm
Forum: General programming
Topic: HollyForth
Replies: 3
Views: 185

Re: HollyForth

I've been told that Hollywood wrapping with other programming languages is against the Hollywood license. I wanted to wrap Hollywood with a graphical syntax and that's the answer I got.
by SamuraiCrow
Wed Aug 21, 2019 5:41 pm
Forum: RapaGUI
Topic: moai.Request "Allrighty"
Replies: 11
Views: 323

Re: moai.Request "Allrighty"

Sounds to me like the locale support is kicking in.
by SamuraiCrow
Mon Aug 19, 2019 3:08 am
Forum: Wishlist
Topic: Serial.device selection under amigaos
Replies: 7
Views: 308

Re: Serial.device selection under amigaos

What's wrong with a preprocessor macro for the different OS's serial devices?