[Gambas-Notification] [Git][gambas/gambas][master] Initial implementation of class namespaces.

Benoît Minisini (@bminisini) gitlab at mg.gitlab.com
Tue May 18 02:20:40 CEST 2021



Benoît Minisini pushed to branch master at Gambas / gambas


Commits:
0e78042e by gambas at 2021-05-18T02:12:33+02:00
Initial implementation of class namespaces.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Support of the new '.list' file format.
* NEW: Support of the new EXPORT AS syntax.
* NEW: Update error messages.

[COMPILER]
* NEW: EXPORT AS is a new syntax for exporting a class with a specific name that can include a namespace.
* NEW: New header file to start sharing reader code with the 'gb.eval' component.
* NEW: Class names can include a colon. The part before the colon is assumed to be a namespace.

[INTERPRETER]
* NEW: Classes exported in a namespace are now declared both in the global symbol table and in the local symbol table of their component.
* NEW: Class names are now allocated inside the symbol tables, and not in the class objects anymore.

[GB.EVAL]
* NEW: Share some reader code with the compiler.

- - - - -


21 changed files:

- app/src/gambas3/.lang/fr.po
- app/src/gambas3/.project
- app/src/gambas3/.src/Component/CComponent.class
- app/src/gambas3/.src/Project.module
- app/src/gambas3/.src/Project/Library/CLibraryInfo.class
- app/src/gambas3/.src/Util/MErrorMessage.module
- main/gbc/gbc_class.c
- main/gbc/gbc_class.h
- main/gbc/gbc_compile.c
- main/gbc/gbc_dump.c
- main/gbc/gbc_header.c
- main/gbc/gbc_read.c
- main/gbc/gbc_trans.c
- main/gbc/gbc_trans.h
- main/gbx/gbx_archive.c
- main/gbx/gbx_class.c
- main/gbx/gbx_class.h
- main/gbx/gbx_class_load.c
- main/lib/eval/eval_read.c
- main/share/gb_reserved_keyword.h
- + main/share/gbc_read_temp.h


View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/0e78042e0715012c4c7ed2469f62f8de84fe7885

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/0e78042e0715012c4c7ed2469f62f8de84fe7885
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/notification/attachments/20210518/78af0800/attachment.htm>


More information about the Notification mailing list