.. index:: single: read_file
.. _read_file/0:

.. rst-class:: right

**category**

``read_file``
=============

Utility predicates for parsing a file as a list of atoms.

| **Availability:** 
|    ``logtalk_load(pddl_parser(loader))``

| **Author:** Robert Sasak, Charles University in Prague. Adapted to Logtalk by Paulo Moura.
| **Version:** 1:0:0
| **Date:** 2011-08-04

| **Compilation flags:**
|    ``static``


| **Dependencies:**
|   (none)


| **Remarks:**
|    (none)

| **Inherited public predicates:**
|    (none)

.. contents::
   :local:
   :backlinks: top

Public predicates
-----------------

.. index:: read_file/2
.. _read_file/0::read_file/2:

``read_file/2``
^^^^^^^^^^^^^^^

Reads a file character by character, parsing it into a list of atoms.

| **Compilation flags:**
|    ``static``

| **Template:**
|    ``read_file(File,List)``
| **Mode and number of proofs:**
|    ``read_file(+atom,-list(atom))`` - ``one``


------------

Protected predicates
--------------------

(none)

Private predicates
------------------

(none)

Operators
---------

(none)

