lucidaflow 1.0.8__tar.gz → 1.1.0__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.

Files changed (26) hide show
  1. {lucidaflow-1.0.8/src/lucidaflow.egg-info → lucidaflow-1.1.0}/PKG-INFO +1 -1
  2. {lucidaflow-1.0.8 → lucidaflow-1.1.0}/pyproject.toml +1 -1
  3. lucidaflow-1.1.0/src/lucidaflow/__main__.py +21 -0
  4. {lucidaflow-1.0.8 → lucidaflow-1.1.0/src/lucidaflow.egg-info}/PKG-INFO +1 -1
  5. {lucidaflow-1.0.8 → lucidaflow-1.1.0}/src/lucidaflow.egg-info/SOURCES.txt +1 -0
  6. {lucidaflow-1.0.8 → lucidaflow-1.1.0}/LICENSE +0 -0
  7. {lucidaflow-1.0.8 → lucidaflow-1.1.0}/README.md +0 -0
  8. {lucidaflow-1.0.8 → lucidaflow-1.1.0}/setup.cfg +0 -0
  9. {lucidaflow-1.0.8 → lucidaflow-1.1.0}/src/lucidaflow/__init__.py +0 -0
  10. {lucidaflow-1.0.8 → lucidaflow-1.1.0}/src/lucidaflow/cli.py +0 -0
  11. {lucidaflow-1.0.8 → lucidaflow-1.1.0}/src/lucidaflow/lib/__init__.py +0 -0
  12. {lucidaflow-1.0.8 → lucidaflow-1.1.0}/src/lucidaflow/lib/dado.py +0 -0
  13. {lucidaflow-1.0.8 → lucidaflow-1.1.0}/src/lucidaflow/lib/json.py +0 -0
  14. {lucidaflow-1.0.8 → lucidaflow-1.1.0}/src/lucidaflow/lib/web.py +0 -0
  15. {lucidaflow-1.0.8 → lucidaflow-1.1.0}/src/lucidaflow/lucida_analyzer.py +0 -0
  16. {lucidaflow-1.0.8 → lucidaflow-1.1.0}/src/lucidaflow/lucida_ast.py +0 -0
  17. {lucidaflow-1.0.8 → lucidaflow-1.1.0}/src/lucidaflow/lucida_errors.py +0 -0
  18. {lucidaflow-1.0.8 → lucidaflow-1.1.0}/src/lucidaflow/lucida_interpreter.py +0 -0
  19. {lucidaflow-1.0.8 → lucidaflow-1.1.0}/src/lucidaflow/lucida_lexer.py +0 -0
  20. {lucidaflow-1.0.8 → lucidaflow-1.1.0}/src/lucidaflow/lucida_parser.py +0 -0
  21. {lucidaflow-1.0.8 → lucidaflow-1.1.0}/src/lucidaflow/lucida_stdlib.py +0 -0
  22. {lucidaflow-1.0.8 → lucidaflow-1.1.0}/src/lucidaflow/lucida_symbols.py +0 -0
  23. {lucidaflow-1.0.8 → lucidaflow-1.1.0}/src/lucidaflow.egg-info/dependency_links.txt +0 -0
  24. {lucidaflow-1.0.8 → lucidaflow-1.1.0}/src/lucidaflow.egg-info/entry_points.txt +0 -0
  25. {lucidaflow-1.0.8 → lucidaflow-1.1.0}/src/lucidaflow.egg-info/requires.txt +0 -0
  26. {lucidaflow-1.0.8 → lucidaflow-1.1.0}/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.8
3
+ Version: 1.1.0
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.8" # Aumentei a versão para a nova publicação
9
+ version = "1.1.0" # Aumentei a versão para a nova publicação
10
10
  authors = [
11
11
  { name="Marco Lago", email="marconeed2@gmail.com" },
12
12
  ]
@@ -0,0 +1,21 @@
1
+ # src/lucidaflow/__main__.py
2
+ import sys
3
+ from lucidaflow.cli import run_file, start_repl
4
+
5
+ def main():
6
+ """
7
+ Verifica os argumentos da linha de comando e decide se executa
8
+ um ficheiro ou inicia o REPL.
9
+ """
10
+ # sys.argv é a lista de argumentos da linha de comando.
11
+ # sys.argv[0] é o nome do módulo, o resto são os argumentos.
12
+ if len(sys.argv) > 1:
13
+ # Se um argumento foi passado, assumimos que é um nome de ficheiro
14
+ script_file = sys.argv[1]
15
+ run_file(script_file)
16
+ else:
17
+ # Se nenhum argumento foi passado, inicia o REPL
18
+ start_repl()
19
+
20
+ if __name__ == "__main__":
21
+ main()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lucidaflow
3
- Version: 1.0.8
3
+ Version: 1.1.0
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
@@ -2,6 +2,7 @@ LICENSE
2
2
  README.md
3
3
  pyproject.toml
4
4
  src/lucidaflow/__init__.py
5
+ src/lucidaflow/__main__.py
5
6
  src/lucidaflow/cli.py
6
7
  src/lucidaflow/lucida_analyzer.py
7
8
  src/lucidaflow/lucida_ast.py
File without changes
File without changes
File without changes