-
Notifications
You must be signed in to change notification settings - Fork 143
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
tests for lib_string_format #108
base: develop
Are you sure you want to change the base?
Conversation
Can you give me a hint in what way the string formatting differs? Is it something to do with 5.3 and integers or is it a deeper issue? |
The differences between LuErl and native Lua 5.3 are not too big. They are typically the number of zeros, or formatting differences. for example in Lua:
In LuErl %e and %E give back the same output: Here are only one zero and small E in both case. Or in other case:
Lua:
LuErl: We discussed these differences with Ferenc Borocki. LuErl's results are correct if you see only the value of the results, so we think first we should collect all the differences and when we reached the 100% coverage, we can fix/debug the differences if you tell that it is important. I think you should declare which differences should be repaired and which one's are not important. My personal opinion is that sooner or later LuErl will be used in wider area so I think the similar behaviour would be important. I am on holiday now but from middle of July I would be happy to reach the 100% coverage and to find the cause of all differences. |
OK, I will include and start attacking the problem. One reason for the difference iirc is that Luerl basically uses the builtin erlang formating and accepts what it outputs. |
…ebugger gui with line display
I collected string formatting tests to increase the cover and find differences between native Lua and LuErl