Pixilang 3.8

Pixilang programming language
Post Reply
User avatar
NightRadio
Site Admin
Posts: 3941
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Pixilang 3.8

Post by NightRadio »

Pixilang programming language has been updated to version 3.8!
https://warmplace.ru/soft/pixilang

What is new:
  • Android 6+: USB MIDI support;
  • Android: arm64 and x86_64 support;
  • Android 2.3 support has been dropped; now the minimum is 4.1;
  • new operator "!" - logical NOT; example: if !condition { ... };
  • new operator "~" - bitwise NOT (inversion); example: a = ~b;
  • SunVox modular synth engine is now part of Pixilang; see examples/sound/sunvox (pixi-files and readme.txt); full API documentation is here: https://warmplace.ru/soft/sunvox/sunvox_lib.php;
  • new command-line option "-?" for help (show usage with all possible options);
  • new function remove_prop( container, property_name ) - remove the property from the container;
  • new function get_file_format( filename, stream ) - get file (or stream, if filename == -1) format (one of the FORMAT_xxxx constants); see basics/get_file_format.pixi;
  • new function get_fformat_mime( fileformat ) - get MIME type (string) for specified file format;
  • new function get_fformat_ext( fileformat ) - get the extension (string) for specified file format;
  • new function reinterpret_type( value, mode, intermediate_value_bits ) - for the type punning https://en.wikipedia.org/wiki/Type_punning ; see basics/type_punning.pixi;
  • new function textinput_dialog( default_text, dialog_name ) - open SunDog-based text input dialog and return the entered string; only Latin letters are supported now; see graphics/textinput_dialog.pixi example;
  • new function update_gl_data( cnum ) sends a request to update the OpenGL texture associated with container cnum; use this function if the contents (pixels) of the container have changed, but the size remains the same;
  • new function conv_filter() - convolution filter (convolution matrix); see graphics/convolution_filter.pixi example;
  • conv_filter() flags (options): CONV_FILTER_COLOR, CONV_FILTER_BORDER_EXTEND, CONV_FILTER_BORDER_SKIP, CONV_FILTER_UNSIGNED;
  • new function get_text_xysize() (the parameters are the same as for functions get_text_xsize and get_text_ysize); return value = xsize | ( ysize << 16 );
  • num_to_str(): optional parameter radix (supported values: 10 and 16);
  • print(), get_text_xsize(), get_text_ysize(): new optional parameters: str_offset, str_size;
  • option (flag) for the file_dialog() - FDIALOG_FLAG_LOAD (check file availability);
  • support of additional escape sequences as described here: https://en.wikipedia.org/wiki/Escape_sequences_in_C ;
  • new built-in global variable: PIXILANG_INFO - information (flags) about the current Pixilang runtime environment;
  • set of constants for PIXILANG_INFO: PIXINFO_MODULE, PIXINFO_MULTITOUCH, PIXINFO_TOUCHCONTROL, PIXINFO_MIDIIN, etc.;
  • new sound examples: wav_recorder, sunvox/;
  • new graphics examples: convolution_filter, textinput_dialog, gears, demoscene/;
  • new benchmark (examples/benchmarks): variables;
  • new library (lib) - demo (Pixilang Demoscene Engine);
  • examples with the basics of the Pixilang are now in this folder: examples/basics;
  • new documentation: https://warmplace.ru/soft/pixilang/manual.php
  • field EVT_UNICODE has been removed (never used) - in future it will be implemented through special events;
  • fixed bug in the processing of the max_xsize parameter (functions print(), get_text_xsize(), get_text_ysize());
  • bug fixes.
Only compiled versions are available now. Source codes will be released later.
User avatar
AutumnCheney
Posts: 503
Joined: Sun Dec 29, 2019 8:16 am
Location: tahlequah, ok, usa
Contact:

Re: Pixilang 3.8

Post by AutumnCheney »

aaaaaa yes!!! i've been meaning to get into pixilang and the sunvox library, and this release is a treat for me!

can't wait until you release the sources! i'll enjoy analyzing them :)
my website: https://acheney.xyz

it features my music, sunvox content, and social media links!
Post Reply