How to pronounce “Sciter”

April 20, 2015

Filed under: Sciter — Andrew @ 1:42 pm

You can hear it here

Modern Template Metaprogramming: A Compendium

April 19, 2015

Filed under: C++,Philosophy — Andrew @ 9:21 am

Just in case if someone as myself have missed presentation of His Excellence Mr. Walter E. Brown at CppCon 2014

Part I (above) and Part II

Sciter, D language SDK port

April 14, 2015

Filed under: Sciter,Source code — Andrew @ 8:39 am

Please welcome D language port of Sciter SDK by Mr. Ramon F. Mendes.

As a demonstration Mr. Ramon kindly shared his OctoDeskdex Sciter application written in D:

OctoDeskdex

Octo Deskdex is basically a Sciter based desktop app that shows up Github mascots from the Octodex site.

BlockNote on KickStarter

April 2, 2015

Filed under: Philosophy,Sciter — Andrew @ 10:55 am

blocknote2

I have started BlockNote campaign on Kickstarter

That is about funding of BlockNote2 development: WYSIWYG HTML editor for the rest of us that will work on Windows, Mac and Linux.

BlockNote editor was free last 10 years and if you have found it handy please donate if you can. Each river starts from a small stream.

As a part of this campaign I am also offering discounts (up to 50%) for Sciter license and source code access. And yet advertisement spots on BlockNote front page. Note: that space and number of offerings is limited.

Sciter, Delphi wrapper

February 25, 2015

Filed under: Sciter,Source code — Andrew @ 2:38 pm
Sciter/Delphi demo

Sciter/Delphi demo

Mr. Baranov D.A. have published his Delphi wrapper for Sciter at GitHub.

Object match feature in Sciter 3.2.0.3

February 13, 2015

Filed under: Sciter,Script — Andrew @ 8:44 pm

In Sciter 3.2.0.3 I’ve added so called object match feature to built-in like operator and switch/like statement.

Let’s imagine that we have some sequence of objects/data like:

      var shoppingCartData = [
        { product:"Apple", price: 0.95, calories:52 },
        { product:"Orange", price: 0.75, calories:47 },
        { product:"Toothbrush", price: 1.75 },
        "deleted",
        { product:"Pear", price: 1.25, calories:57 },      
        { product:"Soap", price: 2.75 },
      ];

And we would like to do something separately for food items and other purchased goods. With the new switch/like addition that will simply look like this:

for( var item in shoppingCartData ) 
  switch(item) 
  {
     like { price: Float, calories: Integer } :  
           // appears as a food item, do something with it
           ...
           break; 
     like { price: Float } : 
           // not a food item
           ...
           break;            
     case "deleted" :
           // item was deleted, skip it  
           break;
     default:
           // unknown thing, is it just a present? 
           break; 
  }

Same pattern matching was added to the like expression:

if( item like { product: String, price: Float } )
    stdout.println( item, "is a pricey product" );

Hope this will make life easier in some cases.

Next Page »