<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
    <title> - Linguistics</title>
    <link rel="self" type="application/atom+xml" href="https://jangermad.srht.site/topics/linguistics/atom.xml"/>
    <link rel="alternate" type="text/html" href="https://jangermad.srht.site/"/>
    <generator uri="https://www.getzola.org/">Zola</generator>
    <updated>2026-07-01T00:00:00+00:00</updated>
    <id>https://jangermad.srht.site/topics/linguistics/atom.xml</id>
    <entry xml:lang="en">
        <title>Languages and Decidability</title>
        <published>2026-07-01T00:00:00+00:00</published>
        <updated>2026-07-01T00:00:00+00:00</updated>
        
        <author>
          <name>Jengamon</name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://jangermad.srht.site/blog/languages-and-decidability/"/>
        <id>https://jangermad.srht.site/blog/languages-and-decidability/</id>
        
        <content type="html" xml:base="https://jangermad.srht.site/blog/languages-and-decidability/">&lt;p&gt;So, I don’t really have much formal training in linguistics, so this is most likely answered somewhere, but
is infinite lookahead distinct from decidability?&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Setting this up, I’m assuming knowledge of the &lt;a class=&quot;external-link&quot; rel=&quot;noreferrer external&quot; href=&quot;https://en.wikipedia.org/wiki/Chomsky_hierarchy&quot;&gt;Chomsky hierarchy&lt;/a&gt; and the &lt;a class=&quot;external-link&quot; rel=&quot;noreferrer external&quot; href=&quot;https://en.wikipedia.org/wiki/Halting_problem&quot;&gt;halting problem&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Basically, we know that C++ parsing is &lt;a class=&quot;external-link&quot; rel=&quot;noreferrer external&quot; href=&quot;https://stackoverflow.com/a/794116&quot;&gt;&lt;em&gt;undecidable&lt;/em&gt;&lt;/a&gt;, but I told someone that
that is distinct from infinite lookahead, which I said was requiring an infinite number of symbols to disambiguate
meaning.&lt;/p&gt;
&lt;p&gt;Later, I correlated this with how regexes (regular expressions) would require an infinite amount of lookahead
to be able to solve the matching braces problem, which is more easily resolved by moving up the hierarchy of languages,
so it feels like “infinite lookahead” is just a symptom of “you’re too low in the language stack”. So if some “language”
were to exist that &lt;em&gt;always&lt;/em&gt; required infinite lookahead, would it be a language? (This is the actual question I have,
woops.)&lt;/p&gt;
&lt;p&gt;Feel free to send in threads/discussions/answers &lt;a href=&quot;mailto:dull.edge3899@fastmail.com?subject=%5Blang-discuss%5D%20decidability%20and%20lookahead&quot;&gt;here&lt;/a&gt;.
I’ll update this post as I explore/learn about stuff.&lt;/p&gt;
</content>
        
    </entry>
</feed>
