Skip to content
#

logic-programming

Here are 418 public repositories matching this topic...

harendra-kumar
harendra-kumar commented Apr 11, 2020

In general we need to:

  • update missing link destinations using full module path
  • update ambiguous link destination using full module path
  • there are many cases of missing documentation in internal modules because the documentation is available in a higher level module which is exposed. In such cases we can write "See 'xyz'" in the docs. This is also useful for the new readers if they are w
linas
linas commented Apr 26, 2020

The AtomTable uses a mutex to guard access to the TypeIndex. This mutex could be mostly avoided by using a concurrent hash map. The one described here: https://preshing.com/20160201/new-concurrent-hash-maps-for-cpp/ seems like a good choice. implementing this requires

  • Copying the concurrent hash map source to cog-utils
  • Modifying TypeIndex to use it.
  • Removing the mutex lock in `AtomT
logtalk3
fogfish
fogfish commented Mar 19, 2016

consider the use-case:

t(Urn,L) :- f(Urn, "urn:rdfs:label", L), L = "Lomonosov Russia".

predicate f bind second variable to "urn:refs:label" but variable name unknown. The parser builds

#{t => [[urn,l],
   #{'@' => f,
     '_' => [urn,<<"urn:rdfs:label">>,l],
     l => <<"Lomonosov Russia">>}]}

The native query builder shall be aware of [urn,<<"urn:rdfs:label">>,l] mappin

Improve this page

Add a description, image, and links to the logic-programming topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the logic-programming topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.