Conversation
a8d4d76 to
cac5a37
Compare
There was a problem hiding this comment.
I see you have move to MathicsScanner more than the characters conversion table. OK, it is more ambitions that what I was envised, but it seems be useful. The only "issue" that I find on this is that if you want to modify the semantic of a symbol or add new operators, you would have to modify two projects, coordinately. However, I think that is not something that we have to do frequently, so I think this will work.
So, when the parser and mathics pass all the tests, I am OK to merge it.
cac5a37 to
2a9f312
Compare
|
BTW, great work! |
As it says in the README.rst for the mathics scanner, it would be good to use this in the pygments tokenizer.
Yes, that is a downside. It also requires a little more sophisication of the developers. But I think/hope we can handle it. I wanted to move out the parser too, however right now it is a little too tied right now to AST building, and Mathics objects like Number, and so on. So at least to my mind that's for later.
Great! |
Actually, @GarkGarcia deserves the lion's share of the credit here. |
I don't like this too. We could parameterize the functions of the tokenizer that use the table of operators. That way there's a single source of truth. I'm not sure if it's worth it though. @rocky This LGTM, but we should import |
Ok. Thanks. I do think more will be added to the YAML file and that it is worth the effort. However at least for me, I need to spread the effort out over a longer period of time since need to limit the amount of time spent per week. More about this some other time... |
|
@rocky The PyYAML thing is really starting to annoy me, I had to basically add a line to each CI configuration file saying "install PyYAML" before we can do anything else. A simpler way add this to |
…he same as it's unicode equivalent to thei plain text representation
421bd73 to
f60539a
Compare
f60539a to
b041d41
Compare
This time for sure!