Jump to content

  • Log In with Google      Sign In   
  • Create Account


Let us talk about scripting languages...


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
24 replies to this topic

#21 Digitalfiend   Members   -  Reputation: 122

Like
Likes
Like

Posted 09 November 2001 - 06:18 AM

To be honest, I think strict-typing is much easier to implement than run-time type checking which is essentially what a variant is. I think strict-type checking is a very important feature especially when it comes to performance and runtime efficiency.

Dire Wolf
www.digitalfiends.com

Sponsor:

#22 Oluseyi   Staff Emeritus   -  Reputation: 1678

Like
Likes
Like

Posted 09 November 2001 - 06:33 AM

How about contextual typing, much like Perl? Scalar context, list/array context and hash context (meaning implicit conversion of acceptable objects) depending on use. Perl in its current incarnation, though, has the minor quirk of not requiring parentheses unless it creates ambiguities; I don''t know if that''s necessarily a good thing for an intro scripting language though.



I wanna work for Microsoft!

#23 Digitalfiend   Members   -  Reputation: 122

Like
Likes
Like

Posted 09 November 2001 - 06:46 AM

If we are going to write a VM I think contextual typing might be out of the question. Though I''m not sure of the technical implications of trying to implement contextual typing in a VM. It might be possible but extremely difficult and possibly out of the scope of this project...

Dire Wolf
www.digitalfiends.com

#24 abstractworlds   Members   -  Reputation: 194

Like
Likes
Like

Posted 09 November 2001 - 01:51 PM

If strict typing is easier then definitely go for it for version 1.

#25 Digitalfiend   Members   -  Reputation: 122

Like
Likes
Like

Posted 09 November 2001 - 02:14 PM

Well I think I have enough feedback to start working on a grammar specification for the language. I still have to write the I/O completion port article and then after that I should have the time to layout a grammar/informal specification.

I''ll probably end up posting the grammar to the forums before I move on with the project. As I said, I''m no expert in this field (not a lot of people are) so it is always good to get feedback...

Best regards,



Dire Wolf
www.digitalfiends.com




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS