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
- Host: GitHub
- URL: https://github.com/rickbarretto/blanca
- Owner: RickBarretto
- Created: 2024-01-28T16:22:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-29T02:14:49.000Z (over 2 years ago)
- Last Synced: 2025-04-07T07:49:49.138Z (about 1 year ago)
- Topics: arturo, arturo-lang, decoder, parser
- Language: Python
- Homepage:
- Size: 85.9 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: readme.rst
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 ...
======================= ============