What I would like to write in my code is the following.
c² = a² + b²
At first I tried to create a macro for ². I have tried the following.
²
macro @² (x) syntax (x,"²") { <[ ($x * $x) ]> }
But I expect an identifier error in (x)So, I tried
(x)
macro @s (x) syntax (x,"²") { <[ ($x * $x) ]> }
Now I get an unsupported syntax token error on "²".
"²"
So, I ask 1. Can I write an operator ²? 2. What are the supported syntax tokens?
ASCII 255 : '=', '<', ' > ', '@', '^', '&', '-', '+', '|', '*', '/', '$', '%', '!', '?', '~', '.', ':', '# ','\',' '', '(', ')', ';', '[', ']'.
"²" , , , .
Source: https://habr.com/ru/post/1789096/More articles:Python CSV reader not reading CSV data as I expect - pythonHow to convert anonymous function to regular? - javascriptC ++ Default Constructors - c ++Calculation / change of height of the substitution line in UILabel - iosSQL Server 2008 Performance Tuning (T-SQL) Multiple LEFT JOIN table vs. view - sqlКак использовать OpenGL в Haskell с несколькими окнами? - user-interfaceIterative forecasting of din models - dynamicrails has_one remove the link - ruby-on-railsRelease the ViewController correctly when adding a subview without navigationController - ioshttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1789101/only-include-file-once-in-git-repository&usg=ALkJrhjpHlVstIEGBj6vgBywCdFuFJyxMQAll Articles