An open API service indexing awesome lists of open source software.

https://github.com/rickbarretto/blanca

Ultra DRAFT - A parser to load Arturo as Data for Python
https://github.com/rickbarretto/blanca

arturo arturo-lang decoder parser

Last synced: 4 months ago
JSON representation

Ultra DRAFT - A parser to load Arturo as Data for Python

Awesome Lists containing this project

README

          

Convertion Table
================

======================= =============== ====================================================
Doing
--------------------------------------------------------------------------------------------
Arturo Types Python Types Notes
======================= =============== ====================================================
``:word`` ``str`` interpreted as a str
``:label`` is a ``dict``'s key, always needs a r-value
``:string`` (simple) ``str``
``:char`` ``str`` chars in Python are intepreted as ``str``
``:integer`` ``int``
``:floating`` ``float`` ``d.`` is an ``:integer``
``:rational`` ``(int, int)``
``:logical`` ``bool`` Supported via macros: '!true', '!false' and '!maybe'
``:color`` ``str``
``:block`` ``list`` can't assign values
``:dictionary`` ``dict`` gets pairs of kind (:label :any)
======================= =============== ====================================================

======================= ============
TODO
------------------------------------

Arturo Types Python Types
======================= ============
:literal str
:null None
:path list[str]
:pathLabel ...
:symbols ...
:complex ...
:type str
:regex str
:inline list
:date ...
:database ...
:binary ...
:bytecode ...
:attribute ...
:attributeLabel ...
======================= ============