All Projects → arkark → D Prolog

arkark / D Prolog

Licence: mit
A Prolog implementation in D language

Programming Languages

d
599 projects
prolog
421 projects
dlang
54 projects

Projects that are alternatives of or similar to D Prolog

Mico
Mico ("Monkey" in catalan). Monkey language implementation done with C++. https://interpreterbook.com/
Stars: ✭ 19 (-5%)
Mutual labels:  parser, repl
Endbasic
BASIC environment with a REPL, a web interface, and RPi support written in Rust
Stars: ✭ 106 (+430%)
Mutual labels:  parser, repl
Lisp Esque Language
💠The Lel programming language
Stars: ✭ 24 (+20%)
Mutual labels:  parser
Ymlparser
YML (Yandex Market Language) parser
Stars: ✭ 14 (-30%)
Mutual labels:  parser
Tinker
Powerful REPL for the Laravel framework.
Stars: ✭ 6,957 (+34685%)
Mutual labels:  repl
Librini
Rini is a tiny, non-libc dependant, .ini file parser programmed from scratch in C99.
Stars: ✭ 25 (+25%)
Mutual labels:  parser
Itunes smartplaylist
iTunes Smart playlist parser with Python. Convert to Kodi xsp smart playlists.
Stars: ✭ 10 (-50%)
Mutual labels:  parser
Radon
A scripting language.
Stars: ✭ 22 (+10%)
Mutual labels:  parser
Onion Crawler
Tor website crawler (specific for Alphabay at the time)
Stars: ✭ 15 (-25%)
Mutual labels:  parser
Vector
A reliable, high-performance tool for building observability data pipelines.
Stars: ✭ 8,736 (+43580%)
Mutual labels:  parser
Xml Js
Converter utility between XML text and Javascript object / JSON text.
Stars: ✭ 874 (+4270%)
Mutual labels:  parser
Html React Parser
📝 HTML to React parser.
Stars: ✭ 846 (+4130%)
Mutual labels:  parser
Metric Parser
📜 AST-based advanced mathematical parser written by Typescript.
Stars: ✭ 26 (+30%)
Mutual labels:  parser
Slang
A small, flexible and extensible front-end for GLSL.
Stars: ✭ 10 (-50%)
Mutual labels:  parser
Badx12
A Python Library for parsing ANSI ASC X12 files.
Stars: ✭ 25 (+25%)
Mutual labels:  parser
Scalameta
Library to read, analyze, transform and generate Scala programs
Stars: ✭ 879 (+4295%)
Mutual labels:  parser
Dsongo
Encoding, decoding, marshaling, unmarshaling, and verification of the DSON (Doge Serialized Object Notation)
Stars: ✭ 23 (+15%)
Mutual labels:  parser
Hx Mathparser
Evaluates math expressions. Written in Haxe.
Stars: ✭ 7 (-65%)
Mutual labels:  parser
Mappy
A functional programming language. Like LISP but focused around maps rather than lists.
Stars: ✭ 10 (-50%)
Mutual labels:  repl
Sol Profiler
CLI Tool to List & Store Solidity Smart Contract Methods Attributes
Stars: ✭ 20 (+0%)
Mutual labels:  parser

D-Prolog

Build Status codecov.io license: MIT Lines of code GitHub version

A Prolog implementation in D language.

Install

Download binary

Download the latest dprolog binary.

Install from source

$ git clone https://github.com/ArkArk/d-prolog.git
$ cd d-prolog

and build (refer to Development).

Usage

See docs/.

Development

Requirements

  • DMD: A compiler for D programming language
  • DUB: A package manager for D programming language
  • Linenoise

Install Linenoise

$ git clone https://github.com/antirez/linenoise.git
$ cd linenoise
$ gcc -c -o linenoise.o linenoise.c
$ ar rcs liblinenoise.a linenoise.o

and move liblinenoise.a to lib/ or somewhere D can find it (e.g. /usr/lib/).

Build

$ dub build

The destination directory of the output binary is bin.

Run

With no option:

$ dub run

With some options:

$ dub run -- -f example/family.pro --verbose

Tests

$ dub test

Release

$ git tag <version>
$ ./release.sh
  • Building a binary for release -> bin/$FILE_NAME
  • Calculating lines of code -> docs/LoC.md

Future Work

  • Support for Windows
  • Adding more tests

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].