Hacker News new | past | comments | ask | show | jobs | submit login

My favorite part of AsciiMath is the concise matrix syntax and also just using quotes to write normal words:

    (-1)^n = {
        [  1         ,  n " even"  ],
        [ -1         ,  n " odd"   ],
        [ cosn+isinn , "otherwise" ]
    :}

    R(theta) = ( 
      [ costheta , -sintheta ] ,
      [ sintheta ,  costheta ] 
    )
It makes typing simple equations very simple, and if it gets complicated I could always write more explicitly/fall back to latex syntax which it parses as well.

It's kinda similar to the philosophy of Markdown -- make simple things easy and allow an escape hatch for when you need to be unambiguous.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: