PageSourceSearch

https://programmer2514.github.io/MiamiOH-AVP-Demo/assets/interp-BGl9r8kt.js

js programmer2514.github.io collected 2026-10-03 09:47:34 UTC 1,053 bytes, 13 lines download raw bytes

1import{J as e,K as t,o as n,t as r}from"./jsx-runtime-CKpwozJo.js";import{i}from"./dist-BnOy0HyQ.js";import{t as a}from"./useInterpreter-D0FB77nB.js";var o=e(t(),1),s=r(),c=`a1 = arr[1, 10, 5, 6, 4, 7, 19]
2key = 4
3
4fun Linear_Search(a, k):
5    for n in a:
6        if n == k:
7            return n
8        end if
9    end for
10    return -1
11end fun
12
13Linear_Search(a1, key)`,l=n(function(){let[e,t]=(0,o.useState)(c),[n,r]=(0,o.useState)(`js`),[l,u,d,f]=a(e);return(0,s.jsxs)(`div`,{className:`overflow-y-scroll max-h-screen`,children:[(0,s.jsxs)(`div`,{children:[(0,s.jsx)(`h2`,{children:`Input Pseudocode`}),(0,s.jsx)(`textarea`,{value:e,onChange:e=>t(e.target.value),spellCheck:`false`})]}),(0,s.jsxs)(`div`,{children:[(0,s.jsx)(`h2`,{children:`Output`}),(0,s.jsxs)(`div`,{children:[(0,s.jsx)(i,{onClick:()=>r(`js`),children:`JavaScript`}),(0,s.jsx)(i,{onClick:()=>r(`tree`),children:`Parse Tree`}),(0,s.jsx)(i,{onClick:()=>r(`trace`),children:`Execution Trace`})]})]}),(0,s.jsx)(`pre`,{children:f||(n===`js`?l:n===`tree`?u:d)})]})});export{l as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.