lucidaflow 1.0.1__tar.gz → 1.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of lucidaflow might be problematic. Click here for more details.
- {lucidaflow-1.0.1/src/lucidaflow.egg-info → lucidaflow-1.0.2}/PKG-INFO +1 -1
- {lucidaflow-1.0.1 → lucidaflow-1.0.2}/pyproject.toml +1 -1
- {lucidaflow-1.0.1 → lucidaflow-1.0.2}/src/lucidaflow/cli.py +6 -6
- {lucidaflow-1.0.1 → lucidaflow-1.0.2}/src/lucidaflow/lib/dado.py +1 -1
- {lucidaflow-1.0.1 → lucidaflow-1.0.2}/src/lucidaflow/lib/json.py +1 -1
- {lucidaflow-1.0.1 → lucidaflow-1.0.2}/src/lucidaflow/lib/web.py +1 -1
- {lucidaflow-1.0.1 → lucidaflow-1.0.2}/src/lucidaflow/lucida_analyzer.py +6 -6
- {lucidaflow-1.0.1 → lucidaflow-1.0.2}/src/lucidaflow/lucida_interpreter.py +8 -8
- {lucidaflow-1.0.1 → lucidaflow-1.0.2}/src/lucidaflow/lucida_parser.py +2 -2
- {lucidaflow-1.0.1 → lucidaflow-1.0.2}/src/lucidaflow/lucida_stdlib.py +4 -4
- {lucidaflow-1.0.1 → lucidaflow-1.0.2/src/lucidaflow.egg-info}/PKG-INFO +1 -1
- {lucidaflow-1.0.1 → lucidaflow-1.0.2}/LICENSE +0 -0
- {lucidaflow-1.0.1 → lucidaflow-1.0.2}/README.md +0 -0
- {lucidaflow-1.0.1 → lucidaflow-1.0.2}/setup.cfg +0 -0
- {lucidaflow-1.0.1 → lucidaflow-1.0.2}/src/lucidaflow/__init__.py +0 -0
- {lucidaflow-1.0.1 → lucidaflow-1.0.2}/src/lucidaflow/lib/__init__.py +0 -0
- {lucidaflow-1.0.1 → lucidaflow-1.0.2}/src/lucidaflow/lucida_ast.py +0 -0
- {lucidaflow-1.0.1 → lucidaflow-1.0.2}/src/lucidaflow/lucida_errors.py +0 -0
- {lucidaflow-1.0.1 → lucidaflow-1.0.2}/src/lucidaflow/lucida_lexer.py +0 -0
- {lucidaflow-1.0.1 → lucidaflow-1.0.2}/src/lucidaflow/lucida_symbols.py +0 -0
- {lucidaflow-1.0.1 → lucidaflow-1.0.2}/src/lucidaflow.egg-info/SOURCES.txt +0 -0
- {lucidaflow-1.0.1 → lucidaflow-1.0.2}/src/lucidaflow.egg-info/dependency_links.txt +0 -0
- {lucidaflow-1.0.1 → lucidaflow-1.0.2}/src/lucidaflow.egg-info/entry_points.txt +0 -0
- {lucidaflow-1.0.1 → lucidaflow-1.0.2}/src/lucidaflow.egg-info/requires.txt +0 -0
- {lucidaflow-1.0.1 → lucidaflow-1.0.2}/src/lucidaflow.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lucidaflow
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: Uma linguagem de script moderna, extensível e com tipagem gradual, implementada em Python.
|
|
5
5
|
Author-email: Marco Lago <marconeed2@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/marconeed/Lucida-Flow
|
|
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
|
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "lucidaflow"
|
|
9
|
-
version = "1.0.
|
|
9
|
+
version = "1.0.2" # Aumentei a versão para a nova publicação
|
|
10
10
|
authors = [
|
|
11
11
|
{ name="Marco Lago", email="marconeed2@gmail.com" },
|
|
12
12
|
]
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# src/lucidaflow/cli.py
|
|
2
2
|
|
|
3
3
|
import sys
|
|
4
|
-
from .lucida_lexer import Lexer
|
|
5
|
-
from .lucida_parser import Parser
|
|
6
|
-
from .lucida_analyzer import SemanticAnalyzer
|
|
7
|
-
from .lucida_interpreter import Interpreter
|
|
8
|
-
from .lucida_errors import LucidaError
|
|
9
|
-
from .lucida_ast import ProgramNode
|
|
4
|
+
from lucidaflow.lucida_lexer import Lexer
|
|
5
|
+
from lucidaflow.lucida_parser import Parser
|
|
6
|
+
from lucidaflow.lucida_analyzer import SemanticAnalyzer
|
|
7
|
+
from lucidaflow.lucida_interpreter import Interpreter
|
|
8
|
+
from lucidaflow.lucida_errors import LucidaError
|
|
9
|
+
from lucidaflow.lucida_ast import ProgramNode
|
|
10
10
|
|
|
11
11
|
def run_code(source_code, analyzer, interpreter):
|
|
12
12
|
lexer = Lexer(source_code)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# lib/dado.py
|
|
2
2
|
import random
|
|
3
|
-
from ..lucida_symbols import VarSymbol, BuiltInFunctionSymbol, ScopedSymbolTable, BuiltInTypeSymbol
|
|
3
|
+
from lucidaflow..lucida_symbols import VarSymbol, BuiltInFunctionSymbol, ScopedSymbolTable, BuiltInTypeSymbol
|
|
4
4
|
|
|
5
5
|
# --- Lógica de Runtime ---
|
|
6
6
|
def lf_d6(args):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# lib/json.py
|
|
2
2
|
import json
|
|
3
|
-
from ..lucida_symbols import VarSymbol, BuiltInFunctionSymbol, ScopedSymbolTable, BuiltInTypeSymbol
|
|
3
|
+
from lucidaflow..lucida_symbols import VarSymbol, BuiltInFunctionSymbol, ScopedSymbolTable, BuiltInTypeSymbol
|
|
4
4
|
|
|
5
5
|
# --- PARTE 1: Lógica de Runtime ---
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# lib/web.py
|
|
2
2
|
import requests
|
|
3
|
-
from ..lucida_symbols import VarSymbol, BuiltInFunctionSymbol, ScopedSymbolTable, BuiltInTypeSymbol
|
|
3
|
+
from lucidaflow..lucida_symbols import VarSymbol, BuiltInFunctionSymbol, ScopedSymbolTable, BuiltInTypeSymbol
|
|
4
4
|
|
|
5
5
|
# --- PARTE 1: Lógica de Runtime ---
|
|
6
6
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
# Copie e cole TODO este conteúdo em seu arquivo lucida_analyzer.py
|
|
2
2
|
|
|
3
|
-
from .lucida_ast import *
|
|
4
|
-
from .lucida_errors import LucidaSemanticError
|
|
5
|
-
from .lucida_stdlib import NATIVE_MODULES_SEMANTICS
|
|
6
|
-
from .lucida_symbols import (
|
|
3
|
+
from lucidaflow.lucida_ast import *
|
|
4
|
+
from lucidaflow.lucida_errors import LucidaSemanticError
|
|
5
|
+
from lucidaflow.lucida_stdlib import NATIVE_MODULES_SEMANTICS
|
|
6
|
+
from lucidaflow.lucida_symbols import (
|
|
7
7
|
Symbol, VarSymbol, BuiltInTypeSymbol, BuiltInFunctionSymbol,
|
|
8
8
|
ProcessSymbol, TypeSymbol, ModuleSymbol, ScopedSymbolTable,
|
|
9
9
|
ListTypeSymbol, DictTypeSymbol, EnumSymbol, EnumMemberSymbol,
|
|
10
10
|
FunctionTypeSymbol, TupleTypeSymbol # <--- ADICIONE AQUI
|
|
11
11
|
)
|
|
12
|
-
from .lucida_lexer import (
|
|
12
|
+
from lucidaflow.lucida_lexer import (
|
|
13
13
|
Lexer, T_PLUS, T_MINUS, T_MUL, T_DIV, T_POW, T_MOD, T_EQ, T_NE, T_LT,
|
|
14
14
|
T_GT, T_LTE, T_GTE, T_AMPERSAND, T_PIPE, T_CARET, T_LSHIFT, T_RSHIFT,
|
|
15
15
|
T_IDENTIFIER, Token # <-- ADICIONE 'Token' AQUI
|
|
16
16
|
)
|
|
17
|
-
from .lucida_parser import Parser
|
|
17
|
+
from lucidaflow.lucida_parser import Parser
|
|
18
18
|
import importlib.util
|
|
19
19
|
import sys
|
|
20
20
|
from pathlib import Path
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
# Copie e cole TODO este conteúdo em seu arquivo do Interpretador
|
|
2
2
|
|
|
3
3
|
import numpy as np
|
|
4
|
-
from .lucida_ast import *
|
|
5
|
-
from .lucida_lexer import *
|
|
6
|
-
from .lucida_symbols import *
|
|
7
|
-
from .lucida_parser import Parser
|
|
8
|
-
from .lucida_errors import LucidaRuntimeError
|
|
9
|
-
from .lucida_stdlib import NATIVE_MODULES
|
|
10
|
-
from .lucida_stdlib import NATIVE_MODULES_SEMANTICS
|
|
4
|
+
from lucidaflow.lucida_ast import *
|
|
5
|
+
from lucidaflow.lucida_lexer import *
|
|
6
|
+
from lucidaflow.lucida_symbols import *
|
|
7
|
+
from lucidaflow.lucida_parser import Parser
|
|
8
|
+
from lucidaflow.lucida_errors import LucidaRuntimeError
|
|
9
|
+
from lucidaflow.lucida_stdlib import NATIVE_MODULES
|
|
10
|
+
from lucidaflow.lucida_stdlib import NATIVE_MODULES_SEMANTICS
|
|
11
11
|
import importlib.util # Para carregar código Python dinamicamente
|
|
12
12
|
import sys # Para ajustar o caminho de busca
|
|
13
13
|
from pathlib import Path # Para manipular caminhos de arquivo
|
|
14
|
-
from .lucida_stdlib import NATIVE_TYPE_METHODS
|
|
14
|
+
from lucidaflow.lucida_stdlib import NATIVE_TYPE_METHODS
|
|
15
15
|
# Removido o import do SemanticAnalyzer, pois não é usado aqui
|
|
16
16
|
# from lucida_analyzer import SemanticAnalyzer
|
|
17
17
|
|
|
@@ -6,13 +6,13 @@ import time
|
|
|
6
6
|
import os
|
|
7
7
|
import datetime
|
|
8
8
|
|
|
9
|
-
from .lib.web import NATIVE_WEB_MODULE, register_semantics as register_web_semantics
|
|
10
|
-
from .lib.json import NATIVE_JSON_MODULE, register_semantics as register_json_semantics
|
|
11
|
-
from .lib.dado import NATIVE_DADO_MODULE, register_semantics as register_dado_semantics
|
|
9
|
+
from lucidaflow.lib.web import NATIVE_WEB_MODULE, register_semantics as register_web_semantics
|
|
10
|
+
from lucidaflow.lib.json import NATIVE_JSON_MODULE, register_semantics as register_json_semantics
|
|
11
|
+
from lucidaflow.lib.dado import NATIVE_DADO_MODULE, register_semantics as register_dado_semantics
|
|
12
12
|
|
|
13
13
|
# --- Importações dos Símbolos da Lucida-Flow ---
|
|
14
14
|
# (Necessário para a parte de descrição semântica)
|
|
15
|
-
from .lucida_symbols import (
|
|
15
|
+
from lucidaflow.lucida_symbols import (
|
|
16
16
|
VarSymbol, BuiltInFunctionSymbol, ScopedSymbolTable, BuiltInTypeSymbol,
|
|
17
17
|
ListTypeSymbol, DictTypeSymbol, TupleTypeSymbol
|
|
18
18
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lucidaflow
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: Uma linguagem de script moderna, extensível e com tipagem gradual, implementada em Python.
|
|
5
5
|
Author-email: Marco Lago <marconeed2@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/marconeed/Lucida-Flow
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|