Difference between revisions of "Visual Prolog 7.5 New Features"

From wiki.visual-prolog.com

m (rearrange)
(→‎PFC: class names)
Line 16: Line 16:
== PFC ==
== PFC ==


* New package for writing scanners in Visual Prolog
* New packages <vp>scannerSupport</vp> and <vp>cursorScannerSupport</vp> for writing scanners in Visual Prolog
* New package for creating service in Visual Prolog
* New package <vp>service</vp> for creating services in Visual Prolog
* New package for LALR(1) parsing
* New package <vp>parser</vp> 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 packages for standalone HTTP/HTTPS server (<vp>httpRequest</vp>, ...)
* New package for JSON
* New package <vp>json</vp> for JSON representation, parsing and writing
* New package for JSON-RPC service support: standalone HTTP/HTTPS and/or ISAPI integration into Microsoft Internet Informantion Services, IIS.
* New packages for JSON-RPC service support: standalone HTTP/HTTPS and/or ISAPI integration into Microsoft Internet Informantion Services, IIS (<vp>jsonRpc</vp>, <vp>jsonRpcService</vp>, ...)
* New package for monitoring directory changes: watchDirectory (pfc\communications)
* New package <vp>watchDirectory</vp> (pfc\communications) for monitoring directory changes
* New package for editor status line
* New package <vp>sciLexerStatusBar</vp>for editor status line
* New packages for XML parsing/writing according to XSD definition
* New packages for XML parsing/writing according to XSD definition (<vp>xmlSupport</vp>, <vp>fromXmlDomSupport</vp> and <vp>toXmlDomSupport</vp>)
* New package for multi image Icons (utilized by the ribbonControl)
* GDI+ support for multi image icons in the <vp>icon</vp> class (utilized by the <vp>ribbonControl</vp>).


== VIP ==
== VIP ==

Revision as of 09:59, 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 packages scannerSupport and cursorScannerSupport for writing scanners in Visual Prolog
  • New package service for creating services in Visual Prolog
  • New package parser 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 packages for standalone HTTP/HTTPS server (httpRequest, ...)
  • New package json for JSON representation, parsing and writing
  • New packages for JSON-RPC service support: standalone HTTP/HTTPS and/or ISAPI integration into Microsoft Internet Informantion Services, IIS (jsonRpc, jsonRpcService, ...)
  • New package watchDirectory (pfc\communications) for monitoring directory changes
  • New package sciLexerStatusBarfor editor status line
  • New packages for XML parsing/writing according to XSD definition (xmlSupport, fromXmlDomSupport and toXmlDomSupport)
  • GDI+ support for multi image icons in the icon class (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

  • MDI template: new status bar replaces old vpi toolbar
  • SDI template: uses ribbon and new status bar
  • "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

  • Tool for generating XML parser/writer from XSD files
  • PIE: Support for integer64

See also