Logtalk 2.42.4


 Sponsored links


 Sponsored links
License:
Freeware
Category:
Development
Publisher:
Paulo-Moura
Size:
932 MB
Last Updated:
2013-07-24
Operating System:
Mac OS X 10.4 or later
Price:
FREE
Download
Publisher's description - Logtalk 2.42.4
 
 Sponsored links

Logtalk is a mature Open Source object-oriented logic programming language that can use most Prolog implementations as a back-end compiler.

As a multi-paradigm language, Logtalk includes support for both prototypes and classes, protocols (interfaces), component-based programming through category-based composition, event-driven programming, and high-level multi-threading programming.

NOTE: After installation, each Logtalk user should run the shell command logtalk_user_setup, which creates a logtalk directory on the user`s home directory containing library files, examples, and documentation.

Here are some key features of "Logtalk":

· Predicate directives (declarations) may be contained inside protocols (interfaces), which may be implemented by any object.
· Object names can be compound terms containing free variables that can be used to parametrize object predicates. This allows us to treat any predicate as an instantiation of a parametric object. I.e. through parametric object we can associate any number of methods with a compound term.
· You may have, in the same application, class-based hierarchies (with instantiation and specialization relations) and prototype-based hierarchies (with extension relations). Moreover, fundamental language features such as protocols (interfaces) and categories (components) can be used simultaneously by classes, instances, and prototypes.
· No need to be constrained to a single, lengthy hierarchy rooted in some generic object.
· Logtalk supports private, protected, and public inheritance in a way similar to C . Moreover, any entity relation can be qualified using a scope keyword. E.g. an object can privately implement a protocol, thus making all protocol declared predicates private.
· Set the scope of your object predicates to match your protocol design and let the runtime system enforce your choices.
· Objects can be either static or dynamic. Static objects are defined in source files which are compiled and loaded in the same way as Prolog files. Dynamic object can be either defined in source files or created at runtime.
· Any static object may contain both static and dynamic predicates.
· Logtalk uses standard Prolog syntax with the addition of a few operators and directives for a smooth learning curve. Prolog code can be easily encapsulated inside objects with little or no changes. Moreover, Logtalk can transparently interpret most Prolog modules as Logtalk objects for easy reusing of existing code (e.g. libraries).
· Predicates can be implicitly called when a spied event occurs, allowing programming solutions which minimize object coupling. In addition, events provide support for behavioral reflection.
· Predicates can be encapsulated inside categories, which can be virtually imported by any object, without any code duplication and irrespective of object hierarchies. Thus, objects may be defined through composition of categories, which act as fine-grained units of code reuse.
· High level multi-threading programming is available when running Logtalk with selected back-end Prolog compilers, allowing objects to support both synchronous and asynchronous messages. Easily take advantage of modern multi-processor and multi-core computers without bothering with the details of creating and destroying threads, implement thread communication, or synchronizing threads.
· Logtalk supports multi-inheritance of both protocol and implementation. An object may implement several protocols and extend, specialize, or instantiate several objects. Multi-inheritance conflicts are solved implicitly by the Logtalk lookup algorithms or explicitly by using predicate directives.
· Logtalk code is compiled using the same technics that you use to write efficient Prolog code. In addition, Logtalk supports both static binding and dynamic binding (with method lookup caching), greatly improving performance. Benchmark results for some Prolog compilers are available here.
· Logtalk is designed for smooth integration with any Prolog compiler that conforms or closely follows the ISO Prolog Standard.
· Logtalk interfaces with a specific back-end Prolog compiler via a minimal configuration file making it compatible with almost any modern compiler.
· Logtalk automatically generates a documentation file in XML format for every compiled object, protocol, or category. The system includes all the necessary XSL(T) files and scripts to convert documenting files to (X)HTML and PDF.

Requirements:

· Prolog

What`s New in This Release: [ read full changelog ]

· Added an entity_prefix/2 predicate and two sets of utility predicates, decompile_predicate_heads/2-4 and decompile_predicate_indicators/2-4, to the "logtalk" built-in object. Marked the decompile_predicate_head/4 and decompile_predicate_indicator/4 as deprecated.
· Added support for preserving the scope information for operators declared using scope directives during compile time. Added information on entity declared operators to the XML documenting files. Updated the text, PDF, and (X)HTML conversion scripts to print out operator information.
· Applied several low-level optimizations to the Logtalk compiler/runtime.
· Moved the internal predicates that construct and access the predicate execution context from the compiler to the Prolog config files in order to support fine performance tuning that is Prolog compiler dependent.
· Updated the implementation of the threaded/1 multi-threading built-in predicate in order to use a small performance optimization based on the term_variables/2 built-...


 

Also See ...
ojAlgo 30.1

ojAlgo 30.1
ChessShell Pre-Alpha

ChessShell Pre-Alpha
Amethyst 2.0.0 Alpha 2.1

Amethyst 2.0.0 Alpha 2.1
Nsound 0.8.1

Nsound 0.8.1
Chilkat Perl Bounce Library 9.2.0

Chilkat Perl Bounce Library 9.2.0



More
QuickView -  fast and easy image viewer

QuickView - fast and easy image viewer
BoneBox - Spine

BoneBox - Spine
Webpage Images Crawler Lite

Webpage Images Crawler Lite
Break Even Point

Break Even Point
GeoExpert - Russia Geography

GeoExpert - Russia Geography



Mac App
BoneBox - Spine

BoneBox - Spine
Benim Tivim

Benim Tivim
Sonar Bookends InXref 8.0

Sonar Bookends InXref 8.0
Black Elegant

Black Elegant
Stoli Recipes 1.0

Stoli Recipes 1.0