←back to thread

56 points boris_m | 1 comments | | HN request time: 0.001s | source
Show context
llm_trw ◴[] No.42066742[source]
This is vastly more pattern matching than term rewriting. In a term rewriting system you have no types for a start: https://en.wikipedia.org/wiki/Rewriting
replies(1): >>42067012 #
convolvatron ◴[] No.42067012[source]
is that important here? it looks like semantically types as presented are no more than magic constants to match on
replies(1): >>42067135 #
llm_trw ◴[] No.42067135[source]
Yes, in term rewriting systems the only thing that matters is the lexical structure of the "program" you're running on top of the transform rules. A simple example of running a TRS is a term of a BNF grammar, a less simple one is a symbolically expanding a term in a computer algebra system.
replies(1): >>42067605 #
1. convolvatron ◴[] No.42067605{3}[source]
ok. sorry, so the issue is not that some of the runtime data is being interpreted as types, its that decisions are being made based on the data and not solely on the structure of the program.