Welcome, Guest. Please login or register.

Author Topic: jump tables (-Edit- Eliminating conditional statements :-))  (Read 13673 times)

Description:

0 Members and 2 Guests are viewing this topic.

Offline falemagn

  • Sr. Member
  • ****
  • Join Date: May 2002
  • Posts: 269
    • Show all replies
    • http://www.aros.org/
Re: jump tables
« Reply #14 from previous page: February 24, 2005, 11:41:02 AM »
Quote

Karlos wrote:
The binary script interpreter may be slower than a native mechanism, but 1000x more fun to do :-)


Well, I kind of think it distracts you from the real code, doesn't it? I mean, Matt should be concentrating on writing the "sound" part of the code, not the interpreter :-)

Anyway, just came across this SMALL language. Quite interesting...
 

Offline falemagn

  • Sr. Member
  • ****
  • Join Date: May 2002
  • Posts: 269
    • Show all replies
    • http://www.aros.org/
SMALL
« Reply #15 on: February 24, 2005, 06:07:40 PM »
Quote

SMALL looks cool!


Indeed it does. And it gets compiled down to bytecode. It's precisely what you need, give it a look :-)