Tämä sivusto toimii paremmin JavaScriptillä.
Etusivu
Tutki
Apua
Kirjaudu sisään
MaximeBarniaudy
/
minproto
forkattu lähteestä
piumarta/minproto
Tarkkaile
1
Äänestä
0
Fork
0
Koodi
Ongelmat
0
Pull-pyynnöt
0
Julkaisut
0
Wiki
Toiminta
25
Commitit
1
Haara
4.0 MiB
Puu:
fc5c7eb843
master
Branchit
Tagit
${ item.name }
Create branch
${ searchTerm }
from 'fc5c7eb843'
${ noResults }
Commit Graph
25 Commitit (fc5c7eb843ae48e4d65cd6f980589ffc7d6b635e)
Kaikki haarat
Haku
Tekijä
SHA1
Viesti
Päivämäärä
MaximeBarniaudy
fc5c7eb843
Minimal grammar parsing
1 vuosi sitten
MaximeBarniaudy
7a306c7abf
Add an intern primitive for symbol creation
1 vuosi sitten
MaximeBarniaudy
58d0138aa5
Fix range access overshadowing key access
1 vuosi sitten
WitherFlower
c73a86cfea
Merge range access and grammar parser changes
1 vuosi sitten
Ian Piumarta
9cc8c3e572
Top-level expressions use the value of symbol __globals__ as the base environment instead of nil. Fix off-by-1 error in nlrPush(). Object.keys() returns keys in alphabetical order.
1 vuosi sitten
Ian Piumarta
057733b85f
Binary operators store pointer to implementation to avoid operator selection during eval.
1 vuosi sitten
Ian Piumarta
2f164a3100
Use spaces instead of tabs to preserve visual alignment in broken tools.
1 vuosi sitten
Ian Piumarta
30facb810c
Add auto increment/decrement and assignment operators.
1 vuosi sitten
Ian Piumarta
4d570df59e
ForToFrom performs update step after continue.
1 vuosi sitten
Ian Piumarta
5ca296eb47
Add return, break, and continue.
1 vuosi sitten
Ian Piumarta
5b1ec1d738
Test user-defined AST nodes.
1 vuosi sitten
Ian Piumarta
6ba66daa8b
Test user-defined AST nodes.
1 vuosi sitten
Ian Piumarta
57fe021082
All symbols created with UNDEFINED_TYPECODE by default. AST nodes with undefined typecode are evaluated by invoking the method __eval__ on the node. Typecode is looked up in the immediate delegate of a node only. Object.__eval__() is primitive and returns self.
1 vuosi sitten
Ian Piumarta
82a4828985
Make sieve be local, not global.
1 vuosi sitten
Ian Piumarta
4a959a124f
Accessing an undefined variable causes a fatal error.
1 vuosi sitten
Ian Piumarta
ddff3e48e8
Add "let name = value, ... ;" to create local variables.
1 vuosi sitten
Ian Piumarta
a81312c139
Ignore more irrelevant stuff.
1 vuosi sitten
Ian Piumarta
4a3abfc8c1
Remove makeForm(). Use Closure.fixed property to change assert/refute closures into a special forms.
1 vuosi sitten
Ian Piumarta
3c992f4a13
Remove primitive makeForm (because Closure.fixed is now accessibe from userland).
1 vuosi sitten
Ian Piumarta
72753c6725
All fields of Lambda and Closure are accessible via Object_{get,put}.
1 vuosi sitten
Ian Piumarta
48f7707b56
Ignore irrelevant files.
1 vuosi sitten
Ian Piumarta
7d3350b71b
Run test on file, not on stdin.
1 vuosi sitten
Ian Piumarta
bc3aae1dcb
Block_eval() executes its body in a new environment
1 vuosi sitten
Ian Piumarta
ec29069aa4
import files
1 vuosi sitten
piumarta
b5521793cd
Initial commit
1 vuosi sitten