Skip to content

Releases: Shafin098/pakhi-bhasha

New gc and better error reporting

15 Mar 05:24
Compare
Choose a tag to compare
Pre-release

Release notes

  • Added a new mark-sweep garbage collector
  • Added a new built-in-constant _প্ল্যাটফর্ম, this constant will expand to current os name

    Possible _প্ল্যাটফর্ম values are

    • "linux"
    • "macos"
    • "ios"
    • "freebsd"
    • "dragonfly"
    • "netbsd"
    • "openbsd"
    • "solaris"
    • "android"
    • "windows"
  • Added better error reporting. Error now shows line number and module name
  • Fixed a bug with return statement in loop
  • Lexer now reports lexical analysis error
  • Fixed a bug in lexer where \t was causing infinite loop

Added new built in functions and constant

02 Feb 06:37
Compare
Choose a tag to compare

Release notes

  • Add support for recursive function call
  • Some errors are now more descriptive
  • Fixed a bug where module was imported partially
  • Fixed a bug where line number in error would be wrong during parsing
  • Fixed a bug in _দেখাও statement when printing string
  • Fixed some bugs in Pakhi runner
  • Added new docs and example program
  • Added 17 new built-in functions and 1 new built-in constant
New builtin functions and constants list

New module system

06 Jan 14:32
3fce158
Compare
Choose a tag to compare
New module system Pre-release
Pre-release

Release notes

  • Pakhi now includes a module system for modular programming. Split a pakhi program into separate files and import each module with new module import and use syntax.

    Module import syntax: মডিউল মডিউল-নাম = "মডিউল-পাথ";

    Module use syntax: মডিউল-নাম/মডিউলের-ফাংশন();

Comment with comment block

23 Dec 04:47
Compare
Choose a tag to compare
Pre-release

Release notes

  • Added single line or multi-line comment with comment block # this is a comment in pakhi #

Pakhi runner bug fix

19 Dec 15:58
Compare
Choose a tag to compare
Pakhi runner bug fix Pre-release
Pre-release

Release notes

  • Fixed random newline bug in Pakhi Runner output text area
  • Renamed Pakhi output viewer program to Pakhi Runner to avoid confusion

New datatype record added

19 Dec 06:46
Compare
Choose a tag to compare
Pre-release

Release notes

  • Record is a hash-table like datatype build into the language
  • Multi dimensional Indexing is now possible with both list and record
  • Array is now renamed to list

Pakhi runner bug fix

22 Nov 14:44
Compare
Choose a tag to compare
Pakhi runner bug fix Pre-release
Pre-release

Release notes

  • Fixed a bug where Pakhi runner wasn't properly writing user input to pakhi process

New Pakhi runner added and simplified installation process

12 Nov 05:39
Compare
Choose a tag to compare

Release notes

  • Pakhi runner included to properly show bangla text. Running program by Pakhi runner is recommended.
  • Added new built-in function _রিড-লাইন() to read from stdin.

Added built in function for array manipulation

13 Oct 10:34
Compare
Choose a tag to compare

Release notes

  • Add new element to end of a list with _লিস্ট-পুশ(লিস্ট, মান)
  • Add new element at specific index _লিস্ট-পুশ(লিস্ট, ইন্ডেক্স, মান)
  • Remove last element from list with _লিস্ট-পপ(লিস্ট)
  • Remove element at specific index with _লিস্ট-পপ(লিস্ট, ২)

New data type added

11 Oct 04:37
Compare
Choose a tag to compare
New data type added Pre-release
Pre-release

Release notes

  • Added new array data type