-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing import 'regex' in 'uclang/demos/imx_sdma/assembler.ucl' #2
Comments
Class Regex was historically part of module sys, from which it was removed to separated module regex. Demo example was not fixed from since then. |
There are three sources of directories to be searched for modules:
In both cases directories can be absolute or relative. |
Thank you for reply ! Would be nice if that information could be available from command line like When I mentioned about relative path for |
I will occasionally add You are right, module to be imported is identified just by its name (identifier). Module implementation is looked for in module directories mentioned in previous comment. |
Testing this project and trying to execute 'uclang/demos/imx_sdma/main.ucl' I'm getting this error message:
And after adding 'import regex;' to 'uclang/demos/imx_sdma/assembler.ucl' no error reported.
Another issue I'm having when trying to execute 'uclang/examples/*' directly it doesn't due to not having the 'export UCLANG_MODS_PATH=' set and it doesn't seem that we can us import with relative paths.
The text was updated successfully, but these errors were encountered: