Search found 7 matches

by Syzygy
Mon Oct 19, 2020 10:02 pm
Forum: Current development (100)
Topic: The new compiler is complete!
Replies: 7
Views: 23392

Re: The new compiler is complete!

It might help to:
1. Look at the differences between og_compiler.lst and new_compiler.lst
2. Look in og_compiler.lst to see what the source code is at the difference (it includes a bit of the source code, and the line number)
3. Post here some of the source near that, and some of the .lst files from ...
by Syzygy
Tue Sep 15, 2020 9:46 pm
Forum: Current development (100)
Topic: The new compiler is complete!
Replies: 7
Views: 23392

Re: The new compiler is complete!

Given this example code


if(( item.IsA( POLCLASS_CONTAINER ) || item.IsA( POLCLASS_DOOR )) && item.locked )
SendSysMessage( mobile, "That item is locked!" );
return 0;
endif


With short-circuit logical evaluation, if item.IsA( POLCLASS_CONTAINER ) is true, then item.IsA( POLCLASS_DOOR ...
by Syzygy
Tue Sep 15, 2020 8:35 pm
Forum: Current development (100)
Topic: The new compiler is complete!
Replies: 7
Views: 23392

The new compiler is complete!

Hi everyone! I wanted to announce here that the new eScript compiler is complete.

It’s available on the master branch and in nightly builds.

Please be sure to run ecompile in comparison mode , as described in core-changes, in order to ensure that the new compiler doesn’t change the behavior of ...
by Syzygy
Wed Aug 19, 2020 9:07 pm
Forum: Current development (100)
Topic: Vagrant upgrade to ubuntu 20.04 incoming
Replies: 1
Views: 16544

Vagrant upgrade to ubuntu 20.04 incoming

Anyone using the Vagrantfile to build? I'm upgrading it to ubuntu 20.04 (focal64).

It builds a lot faster if you raise the CPU count and memory.

Might want to check this out and see if it works for you.

https://github.com/polserver/polserver/pull/236
by Syzygy
Mon Aug 17, 2020 10:20 pm
Forum: Current development (100)
Topic: New compiler in development
Replies: 1
Views: 16378

New compiler in development

Hi everyone,

Just wanted to drop a note here to let you all know that I am rewriting the script compiler.

I am breaking up the work into PRs that are small enough to be reviewed, and hopefully will aid in understanding for anyone who is interested. The latest one is https://github.com/polserver ...
by Syzygy
Sat Apr 18, 2020 12:54 am
Forum: General Discussion
Topic: Wow this makes me so happy
Replies: 6
Views: 21939

Re: Wow this makes me so happy

Hah! Of course.

I lost the source code a long time ago, but you can email me at the address here:
- https://github.com/polserver/polserver/ ... .txt#L1013
by Syzygy
Fri Apr 17, 2020 10:13 pm
Forum: General Discussion
Topic: Wow this makes me so happy
Replies: 6
Views: 21939

Wow this makes me so happy

To see you all continuing on!!