jamesjuett / lobster

Interactive Program Visualization Tools
8 stars 3 forks source link

String Literal Pointer Type for RTTI #158

Open jamesjuett opened 4 years ago

jamesjuett commented 4 years ago

Idea: create another RTTI pointer type class for StringLiteralPointer. Visualization can display this differently in certain cases (e.g. printing out a string literal doesn't show the rvalue-to-lvalue conversion and the evaluated pointer address).

jamesjuett commented 4 years ago

Visualization of string literals for output fixed by making output operators handle string literals directly as a special case without the array-to-pointer conversion.

Perhaps there might still be some benefit to creating a string literal RTTI type?