On a related note, I believe
cglobal are four symbols that aren’t allowed to be variable names, in case that’s the usage you have in mind… Though really, for code generation you should probably use something that allow you to not worry about any of these…
I’m afraid I have no idea what’s “ID in Db” and what’s “algebraically manipulate them”. If you are talking about crossing some language bundary then there will certainly be limitations there that you need to consider, largely unrelated to julia.
The limitation posed by julia syntax will only affect you when you want to use them in julia code. It’s fine even if you are using julia expressions but don’t run them as julia code. In another word, you can play with
:($(Symbol("true")) * 2) all day long and julia won’t care even a little bit about it as long as you don’t try to evaluate it as julia code.
Buttom line is, if you are going to use it, of course you’ll hit application dependent limitation. Very few language I know doesn’t have special syntax/keyword anyway. I can’t say for the limitation if you are using it as something else but if you are going to use it in anyway that will make you hit the limitation posed by julia syntax, you are going to be evaluating the symbol you created as julia code. Doing that is by all mean code generation and there are many ways you could (and should) use so that you won’t ever hit this and many other related issues.