Difference between revisions of "Visual Prolog 7.5 New Features"

From wiki.visual-prolog.com

(init)
 
m (→‎PFC: typo)
Line 20: Line 20:
* New package for LALR(1) parsing
* New package for LALR(1) parsing
* <vp>stream::allowNullPointers</vp> property for robust writing of illformed data that contains null-pointers
* <vp>stream::allowNullPointers</vp> property for robust writing of illformed data that contains null-pointers
* <vp>readLineCRLF/0-><</vp> predicate that copy <CR><LF> to resulting string.
* <vp>readLineCRLF/0-></vp> predicate that copy <CR><LF> to resulting string.
* New package for standalone HTTP/HTTPS server
* New package for standalone HTTP/HTTPS server
* New package for JSON
* New package for JSON

Revision as of 09:44, 28 July 2014

Language

  • Improved procedure check for number ranges (e.g. [1..3])
  • if-then-else expression (in addition to the existing if-then-else statement)
  • The condition in an if-then-else now contains an implicit cut, and thus allows non-deterministic condition
  • Improved garbage collection: Typed allocation of objects reduces the possibility of false pointers
  • Language C/C++ virtual object call compatibility (language thiscall)
  • New attribute [inline(size)] for inlining byte sequences in structs
  • Additional string literals syntax
  • Operator in for member test and iteration
  • New hasDomain/2-> function, in addition to the existing hasdomain/1 predicate
  • New deterministic orelse operator
  • Warning for superfluous static initialization of an object fact if this fact is also initialized in all constructors (the corresponding warning is switched off by the default)
  • Warning for unused local domains, functors and constants

PFC

  • New package for writing scanners in Visual Prolog
  • New package for creating service in Visual Prolog
  • New package for LALR(1) parsing
  • stream::allowNullPointers property for robust writing of illformed data that contains null-pointers
  • readLineCRLF/0-> predicate that copy <CR><LF> to resulting string.
  • New package for standalone HTTP/HTTPS server
  • New package for JSON
  • New package for JSON-RPC service support: standalone HTTP/HTTPS and/or ISAPI integration into Microsoft Internet Informantion Services, IIS.
  • New package for monitoring directory changes: watchDirectory (pfc\communications)
  • New package for editor status line
  • New packages for XML parsing/writing according to XSD definition
  • New package for multi image Icons (utilized by the ribbonControl)

VIP

Vip is a directory (Commercial Edition only) that provides access to certain internal tools and structures, here among:

  • The Visual Prolog parser
  • Project file api
  • New package for LALR(1) parser generator (Complete LALR(1) parser generartor will follow on WEB)

IDE

  • "Find usages" tool, for finding usages og predicates/properties/facts in clauses
  • Copy a project in Welcome/Open Project window
  • Error message corrector for missing/invalid scope
  • Project file in XML (*.vipprj)
  • Project Tree: directories preview
  • Refactoring
    • move folder or package
    • Set namespaces on a complete package (recursively)
  • The possibility for adding a resorce entity (dlg, or class, etc.) without creating a package

Debugger

  • Collections (map, set) displayed more user friendly in variables/etc window

Others

  • MDI template: new status bar replaces old vpi toolbar
  • SDI template: uses ribbon and new status bar
  • Tool for generating XML parser/writer from XSD files
  • PIE: Support for integer64

See also