probcomp / Venturecxx

Primary implementation of the Venture probabilistic programming system
http://probcomp.csail.mit.edu/venture/
GNU General Public License v3.0
28 stars 6 forks source link

Cannot find symbol 'neq' #477

Open lenaqr opened 8 years ago

lenaqr commented 8 years ago
venture[script] > 1 == 2
False
venture[script] > 1 != 2
*** evaluation: Cannot find symbol 'neq'
(autorun (neq 1 2))
          ^^^
axch commented 8 years ago

I am amused that this is bug #477. How long has that dead piece of syntactic sugar been there?

axch commented 8 years ago

Tagging "Help wanted" because it would make a fine exercise for a starting Venture contributor to finish this off by adding neq to Puma (if no one else polishes it off first).

The master list of Puma's builtins is in backend/new_cxx/src/builtin.cxx, so that's the place to look to get started.