Logo
Explore Help
Sign In
intercal/not-python-rust
1
0
Fork 0
You've already forked not-python-rust
Code Issues Pull Requests Releases Wiki Activity
Files
master
not-python-rust/tests/bool.npp.expect

57 lines
324 B
Plaintext
Raw Permalink Normal View History

Add do_call macro, implement Bool builtins, add tests * I noticed that `fn call(...)` in all objects was identical, so I made a macro for it. This should make things a little easier to read, since do_call is about 30 lines a pop. * Bool has a constructor now, and a to_int and to_float implementations * Add tests for constructors and add new bool tests Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2024-09-30 12:41:13 -07:00
__not__
false
true
false
true
true
false
true
false
__and__
false
false
true
false
__or__
true
true
true
false
__eq__
true
false
true
false
true
true
false
false
false
false
true
true
__ne__
false
true
false
true
false
false
true
true
true
true
false
false
constructor
false
false
false
false
true
true
true
true
true
Add Nil constructor and tests Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2024-09-30 12:48:45 -07:00
false
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 110ms Template: 7ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API