Search found 159 matches

by SamuraiCrow
Sun Aug 19, 2018 2:19 am
Forum: Wishlist
Topic: breakfunc-continuefunc command
Replies: 2
Views: 36

Re: breakfunc-continuefunc command

I still don't quite get what you're trying to do. Would passing function references as parameters help here?
by SamuraiCrow
Wed Aug 15, 2018 9:44 pm
Forum: General programming
Topic: OOP framework
Replies: 11
Views: 71

Re: OOP framework

The internal workings are very similar because Hollywood 2.0 adopted Lua's underpinnings but Hollywood 1.0 was independently developed and yielded less performance. Andreas leveraged open source from Lua to make Hollywood faster but syntax is mostly backward compatible to Hollywood 1.x .
by SamuraiCrow
Wed Aug 15, 2018 5:47 pm
Forum: General programming
Topic: OOP framework
Replies: 11
Views: 71

Re: OOP framework

Only the underpinnings are the same as Lua. The syntax and keywords are totally different.
by SamuraiCrow
Wed Aug 15, 2018 3:19 pm
Forum: General programming
Topic: OOP framework
Replies: 11
Views: 71

Re: OOP framework

No, it's an include file written in Hollywood.
by SamuraiCrow
Wed Aug 15, 2018 10:55 am
Forum: General programming
Topic: OOP framework
Replies: 11
Views: 71

Re: OOP framework

I've never written Lua code. That's why it's difficult for me to read the syntax.
by SamuraiCrow
Tue Aug 14, 2018 11:27 pm
Forum: General programming
Topic: OOP framework
Replies: 11
Views: 71

Re: OOP framework

So far the code I have written has interface support and single inheritance. I don't recognize the Lua syntax of your posts but it looks good in Hollywood. :D
by SamuraiCrow
Tue Aug 14, 2018 1:40 pm
Forum: General programming
Topic: OOP framework
Replies: 11
Views: 71

OOP framework

Posting in the unit-test thread reminded me of an attempt to write a framework of object oriented code like that of Java or the latest version of JavaScript that I started some time ago. I'm trying to decide how or whether to proceed. What are some of your favorite frameworks and the OOP languages t...
by SamuraiCrow
Sat Aug 11, 2018 10:02 pm
Forum: General programming
Topic: How can I unit-test my code?
Replies: 7
Views: 111

Re: How can I unit-test my code?

OK, I'm surprised. It works pretty well. Very fast feedback loop. No big fuzz. Using Classes as outlined in https://www.lua.org/pil/16.1.html . Works nicely. Great! I started writing a framework for Hollywood once but ran into a roadblock with the include directory name being passed in as a constan...
by SamuraiCrow
Sat Aug 11, 2018 9:53 pm
Forum: Hollywood bugs
Topic: Problem with InKeyStr()
Replies: 4
Views: 58

Re: Problem with InKeyStr()

@Bugala

Only the echo to the console is supposed to be asterisks. The variable assignment is supposed to be unaffected.
by SamuraiCrow
Sat Aug 11, 2018 3:48 pm
Forum: General programming
Topic: How can I unit-test my code?
Replies: 7
Views: 111

Re: How can I unit-test my code?

There is an Assert() command built in in Hollywood for that purpose.