Package: bandicoot 1.0.0

bandicoot: Light-Weight 'python'-Like Object-Oriented System

A light-weight object-oriented system with 'python'-like syntax which supports multiple inheritances and incorporates a 'python'-like method resolution order.

Authors:Weihao Li [aut, cre, cph]

bandicoot_1.0.0.tar.gz
bandicoot_1.0.0.zip(r-4.5)bandicoot_1.0.0.zip(r-4.4)bandicoot_1.0.0.zip(r-4.3)
bandicoot_1.0.0.tgz(r-4.4-any)bandicoot_1.0.0.tgz(r-4.3-any)
bandicoot_1.0.0.tar.gz(r-4.5-noble)bandicoot_1.0.0.tar.gz(r-4.4-noble)
bandicoot_1.0.0.tgz(r-4.4-emscripten)bandicoot_1.0.0.tgz(r-4.3-emscripten)
bandicoot.pdf |bandicoot.html
bandicoot/json (API)
NEWS

# Install 'bandicoot' in R:
install.packages('bandicoot', repos = c('https://tengmcing.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/tengmcing/bandicoot/issues

On CRAN:

5.26 score 4 stars 1 packages 10 scripts 187 downloads 27 exports 1 dependencies

Last updated 9 months agofrom:04c88f85c7. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 05 2024
R-4.5-winOKNov 05 2024
R-4.5-linuxOKNov 05 2024
R-4.4-winOKNov 05 2024
R-4.4-macOKNov 05 2024
R-4.3-winOKNov 05 2024
R-4.3-macOKNov 05 2024

Exports:%-%%-=%%+%%+=%%contains%%eq%%ge%%gt%%le%%lt%%ne%as_bandicoot_oopBASEbase_bind_fn_2_envcheck_methodcopy_attrdefine_pkg_fnis_bandicoot_oopiterlennew_classregister_methodreprsub_fn_body_namesuperuse_method

Dependencies:cli

Introduction to bandicoot

Rendered fromIntroduction-to-bandicoot.Rmdusingknitr::rmarkdownon Nov 05 2024.

Last update: 2024-03-07
Started: 2024-03-07

Readme and manuals

Help Manual

Help pageTopics
Subtraction operator%-%
S3 method of subtraction operator of a 'bandicoot_oop' object%-%.bandicoot_oop
In-place subtraction operator%-=%
S3 method of in-place subtraction operator of a 'bandicoot_oop' object%-=%.bandicoot_oop
Addition operator%+%
S3 method of addition operator of a 'bandicoot_oop' object%+%.bandicoot_oop
In-place addition operator%+=%
S3 method of in-place addition operator of a 'bandicoot_oop' object%+=%.bandicoot_oop
Membership test operator%contains%
S3 method of performing membership test operator of a 'bandicoot_oop' object%contains%.bandicoot_oop
The equals to operator%eq%
S3 method of performing the equals to operator of a 'bandicoot_oop' object%eq%.bandicoot_oop
The greater or equals to operator%ge%
S3 method of performing the greater or equals operator of a 'bandicoot_oop' object%ge%.bandicoot_oop
The greater than operator%gt%
S3 method of performing the greater than operator of a 'bandicoot_oop' object%gt%.bandicoot_oop
The less or equals to operator%le%
S3 method of performing the less or equals operator of a 'bandicoot_oop' object%le%.bandicoot_oop
The less than operator%lt%
S3 method of performing the less than operator of a 'bandicoot_oop' object%lt%.bandicoot_oop
The not equals to operator%ne%
S3 method of performing the not equals to operator of a 'bandicoot_oop' object%ne%.bandicoot_oop
Turn an environment into a 'bandicoot_oop' objectas_bandicoot_oop
BASE class environmentBASE base_
Direct parent classes
Class name and parent class names represented in a tree
Class name and parent class names
All names in the class or instance environment
Initialization method
Instantiate status
Length of the class or the instance
The container
List all methods of a class or an instance
Method resolution order
Build a new instance from a class or an instance
"Official" String representation of the object
String representation of the object
Class name
Delete an attributeBASE$del_attr
Get value of an attribute or a methodBASE$get_attr
Whether or not an attribute or method existsBASE$has_attr
Instantiate methodBASE$instantiate
Set value of an attribute or a methodBASE$set_attr
Bind functions of the current environment to a target environmentbind_fn_2_env
Check each method body in an object if it contains names that do not explicitly bind to a specified namespace via '::'.check_method
Copy attributes and methods from classes or instancescopy_attr
Load functions from package namespaces into current environmentdefine_pkg_fn
Check whether the object is a 'bandicoot_oop' objectis_bandicoot_oop
Build an iteratoriter
S3 method of building an iterator of a 'bandicoot_oop' objectiter.bandicoot_oop
Compute the length of the objectlen
S3 method of computing the length of 'bandicoot_oop' objectlen.bandicoot_oop
Define a new classnew_class
S3 method of printing 'bandicoot_oop' objectprint.bandicoot_oop
Register method for an object environmentregister_method
The "official" string representation of an object.repr
S3 method of computing the "official" string representation of a 'bandicoot_oop' objectrepr.bandicoot_oop
Substitute a symbol in a function bodysub_fn_body_name
Get the parent class (the next class based on the method resolution order)super
Use a method in an object environmentuse_method