Menu

Working on custom data types

Right now I am working on custom datas types. This would allow for me to create data types like the C++ FILE, and allow for me to make the BOLT standard library more effective.

Right now I am working on making sure that all of the elements you enter are valid, for example:

datatype Student begin
        string Name
        number ID
end

I am making sure that you cannot do this:

Student myStudent
myStudent.LastName

this would be invalid because the datatype "Student" does not have a member named "LastName".

I will be using a simple checking scheme to tell if the dat type has that member.

Posted by Nathaniel Hayes 2012-11-14

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.