Squirrel 2.2 Released

게임 개발 소식 - 메인 페이지에 나오는 내용입니다.

Moderator: 류광

Post Reply
yagur
Posts: 47
Joined: 2003-06-25 02:09
Location: Impression
Contact:

Squirrel 2.2 Released

Post by yagur »

2.2 버젼이 release 되었습니다.

-added _newslot metamethod in classes
-added enums added constants
-added sq_pushconsttable, sq_setconsttable
-added default param
-added octal literals
-fixed debug hook, 'calls' and 'returns' are properly notified in the
same number.
-fixed a coroutine bug

특이한 추가사항은 metamethod 입니다. C++의 operator overloading과 같이 오퍼레이터를 오버로드 할수 있습니다. 그리고 클래스 선언시 각각의 멤버 선언을 위해 호출되는 메타메소드(2.1부터)가 있으며, 상속, typeof, tostring등 많은 것들이 추가되었습니다.
또 default param이 추가되었는데 아래와 같이 사용가능합니다.

Code: Select all

function test(a,b,c = 10, d = 20)
{
}
그리고 const table이 추가되어 더욱 편리해졌습니다. sqplus사용하시는분은 약간 손보시면 해당 기능을 사용하실수 있습니다.

http://sourceforge.net/project/showfile ... _id=577260
4MLMman
Posts: 161
Joined: 2007-12-17 19:06

Post by 4MLMman »

오... Squirrel만세.
골수 게임 플머
비회원

Post by 비회원 »

좋은 정보 감사합니다.^^
Post Reply