mtancret/lojeme
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
README for lojeme ================================================================================ Description This is a framework to enable object oriented programming in Prolog. The focus is on fast execution time and ease of use. Objects are implemented in a parametric style. Currently only SWI Prolog is supported. lojeme is LOgic obJEct paraMEtrics ================================================================================ Try It Out > cd example/shape > swipl ?- [load]. % library(lojeme) compiled 0.00 sec, 15,848 bytes % line_segment compiled 0.00 sec, 4,224 bytes % square compiled 0.01 sec, 4,480 bytes % cube compiled 0.00 sec, 4,712 bytes % load compiled 0.01 sec, 32,544 bytes true. ?- square.new(S, 10, red), S.color(Color), S.area(Area). S = square(line_segment(10, red), red), Color = red, Area = 100 . ?- cube.new(C, 10), C.set_color(red), C.volume(Volume). C = cube(line_segment(10, green), red), Volume = 1000 . ================================================================================ Status This project is currently EXPERIMENTAL, many things may change in future updates. ================================================================================ License For licensing details, see individual file headers. Licensed under the Apache License, Version 2.0.
About
A framework to enable object oriented programming in Prolog, with a focus on fast execution time and ease of use.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published