@maherboughdiri/mind-ar-compiler
v1.0.1
Published
package of compiler mind-ar-js
Downloads
33
Maintainers
Readme
��#� �m�i�n�d�-�a�r�-�c�o�m�p�i�l�e�r�
�
�
�
�#�#� �O�v�e�r�v�i�e�w�
�
�
�
�T�h�e� �m�i�n�d�-�a�r�-�c�o�m�p�i�l�e�r� �p�a�c�k�a�g�e� �p�r�o�v�i�d�e�s� �f�u�n�c�t�i�o�n�s� �f�o�r� �c�o�m�p�i�l�i�n�g� �i�m�a�g�e� �t�a�r�g�e�t�s� �a�n�d� �e�x�p�o�r�t�i�n�g� �t�h�e� �c�o�m�p�i�l�e�d� �d�a�t�a� �f�o�r� �u�s�e� �i�n� �a�u�g�m�e�n�t�e�d� �r�e�a�l�i�t�y� �a�p�p�l�i�c�a�t�i�o�n�s�.�
�
�
�
�#�#� �I�n�s�t�a�l�l�a�t�i�o�n�
�
�
�
��
��
�
�n�p�m� �i�n�s�t�a�l�l� �@�m�a�h�e�r�b�o�u�g�h�d�i�r�i�/�m�i�n�d�-�a�r�-�c�o�m�p�i�l�e�r�
�
�
��
�
�
�
�
�#�#� �U�s�a�g�e�
�
�
�
�I�m�p�o�r�t� �t�h�e� �c�o�m�p�i�l�e�r�:�
�
�
�
��
��j�s�
�
�i�m�p�o�r�t� �c�o�m�p�i�l�e�r� �f�r�o�m� �"�@�m�a�h�e�r�b�o�u�g�h�d�i�r�i�/�m�i�n�d�-�a�r�-�c�o�m�p�i�l�e�r�"�;�
�
�
��
�
�
�
�
�C�o�m�p�i�l�e� �i�m�a�g�e� �f�i�l�e�s�:�
�
�
�
��
��j�s�
�
�c�o�n�s�t� �f�i�l�e�s� �=� �/�/� �a�r�r�a�y� �o�f� �i�m�a�g�e� �F�i�l�e� �o�b�j�e�c�t�s�
�
�c�o�n�s�t� �t�a�r�g�e�t� �=� �a�w�a�i�t� �c�o�m�p�i�l�e�r�.�c�o�m�p�i�l�e�F�i�l�e�s�(�f�i�l�e�s�)�;�
�
�
��
�
�
�
�
�T�h�e� �c�o�m�p�i�l�e�F�i�l�e�s�(�)� �m�e�t�h�o�d� �c�o�m�p�i�l�e�s� �t�h�e� �i�m�a�g�e� �f�i�l�e�s� �i�n�t�o� �t�a�r�g�e�t� �d�a�t�a�.� �I�t� �a�c�c�e�p�t�s� �a�n� �a�r�r�a�y� �o�f� �i�m�a�g�e� �F�i�l�e� �o�b�j�e�c�t�s� �a�n�d� �r�e�t�u�r�n�s� �a� �P�r�o�m�i�s�e� �r�e�s�o�l�v�i�n�g� �t�o� �t�h�e� �c�o�m�p�i�l�e�d� �d�a�t�a�.�
�
�
�
�T�h�e� �m�e�t�h�o�d� �u�p�d�a�t�e�s� �t�h�e� �p�r�o�g�r�e�s�s� �e�l�e�m�e�n�t� �w�i�t�h� �t�h�e� �c�o�m�p�i�l�a�t�i�o�n� �p�e�r�c�e�n�t�a�g�e� �p�r�o�g�r�e�s�s�.�
�
�
�
�D�o�w�n�l�o�a�d� �t�h�e� �c�o�m�p�i�l�e�d� �d�a�t�a�:�
�
�
�
��
��j�s�
�
�c�o�m�p�i�l�e�r�.�d�o�w�n�l�o�a�d�(�t�a�r�g�e�t�)�;�
�
�
��
�
�
�
�
�C�a�l�l� �t�h�e� �d�o�w�n�l�o�a�d�(�)� �m�e�t�h�o�d� �t�o� �t�r�i�g�g�e�r� �d�o�w�n�l�o�a�d�i�n�g� �o�f� �t�h�e� �c�o�m�p�i�l�e�d� �.�m�i�n�d� �f�i�l�e�.�
�
�
�
�#�#� �D�o�c�u�m�e�n�t�a�t�i�o�n�
�
�
�
�S�e�e� �t�h�e� �[�f�u�l�l� �d�o�c�u�m�e�n�t�a�t�i�o�n�]�(�h�t�t�p�s�:�/�/�g�i�t�h�u�b�.�c�o�m�/�m�a�h�e�r�b�o�u�g�h�d�i�r�i�/�m�i�n�d�-�a�r�-�c�o�m�p�i�l�e�r�)� �f�o�r� �m�o�r�e� �d�e�t�a�i�l�s� �o�n� �t�h�e� �c�o�m�p�i�l�e�r� �m�e�t�h�o�d�s� �a�n�d� �u�s�a�g�e�.�
�
�