This commit is contained in:
Vyacheslav Matyukhin 2022-09-20 02:47:29 +04:00
parent 630128ae3f
commit 5cf17f5dbf
No known key found for this signature in database
GPG Key ID: 3D2A774C5489F96C
2 changed files with 0 additions and 39 deletions

View File

@ -135,23 +135,6 @@ export const ExpressionViewer: React.FC<Props> = ({ value, width }) => {
{() => value.value.toString()}
</VariableBox>
);
// case SqValueTag.Symbol:
// return (
// <VariableBox value={value} heading="Symbol">
// {() => (
// <>
// <span className="text-slate-500 mr-2">Undefined Symbol:</span>
// <span className="text-slate-600">{value.value}</span>
// </>
// )}
// </VariableBox>
// );
// case SqValueTag.Call:
// return (
// <VariableBox value={value} heading="Call">
// {() => value.value}
// </VariableBox>
// );
case SqValueTag.Date:
return (
<VariableBox value={value} heading="Date">
@ -236,24 +219,6 @@ export const ExpressionViewer: React.FC<Props> = ({ value, width }) => {
</VariableBox>
);
}
// case SqValueTag.Module: {
// return (
// <VariableList value={value} heading="Module">
// {(_) =>
// value.value
// .entries()
// .filter(([key, _]) => !key.match(/^(__result__)$/))
// .map(([key, r]) => (
// <ExpressionViewer
// key={key}
// value={r}
// width={width !== undefined ? width - 20 : width}
// />
// ))
// }
// </VariableList>
// );
// }
case SqValueTag.Record:
const plot = makePlot(value.value);
if (plot) {

View File

@ -90,10 +90,6 @@ Case "Running a single source".
})
})
// s1: { x = 1 } / { stdlib }
// s2 (deps=[s1]): { y = 2 } / { { x = 1 } + stdlib }
// s3 (deps=[s2]): { z = 3 } / { { y = 2 } + stdlib }
//TODO multiple sources
//TODO multiple sources with includes. Introduction to includes
//TODO multiple sources with multi level includes. Cycle detection