Commit Graph

42 Commits

Author SHA1 Message Date
Thakee Nathees
e3cab82978 amalgamation added and libs moved to src/libs/ 2022-05-20 04:49:50 +05:30
Thakee Nathees
4e9091b5ec scripts are moved to scritps/ directory 2022-05-01 14:12:27 +05:30
Thakee Nathees
9dade8313f closure, upvalue type were added.
It's just the types that were added and only object creation
and garbage collection of that types are implemented, the
reset of the implementation is not part of this commit.
2022-04-09 00:40:50 +05:30
Thakee Nathees
2bc09f41e5 Stack miss calculation bug fix & minor changes 2022-04-06 08:56:51 +05:30
Thakee Nathees
967cf3a0ed name interpolation implemented
The below is a valid syntax:
  name = "World"
  print("Hello $name!")
2022-04-05 10:22:23 +05:30
Thakee Nathees
402f36f7e5
docs were fully refactored (#175) 2022-04-04 08:47:15 +05:30
Thakee Nathees
42883eb783
copyright notice updated for 2022 (#172) 2022-04-03 00:09:57 +05:30
Tim Gates
bcfa4de706
docs: Fix a few typos (#167)
There are small typos in:
- README.md
- cli/modules.c
- src/pk_compiler.c
- src/pk_core.c
- src/pk_opcodes.h
- src/pk_vm.h
- tests/benchmarks/benchmarks.py

Fixes:
- Should read `temporary` rather than `temproary`.
- Should read `stdout` rather than `stdour`.
- Should read `sprintf` rather than `spritnf`.
- Should read `splitted` rather than `splited`.
- Should read `script` rather than `scirpt`.
- Should read `reported` rather than `repored`.
- Should read `reduce` rather than `recude`.
- Should read `performance` rather than `preformance`.
- Should read `instead` rather than `insted`.
- Should read `default` rather than `defalt`.
2022-03-30 23:20:44 +05:30
Thakee Nathees
273a31e588 native types initialization & attribute getters. (#147)
getters/setters native api functions added to the
vm's configurations and native types were initialized.
2021-06-29 00:30:41 +05:30
Rohan Sharma
3f6209f20d
doc: add a better phrase to credit wren (#146) 2021-06-26 21:31:47 +05:30
Thakee Nathees
000f4c4fe4
yet another docs update (#115) 2021-06-23 10:51:18 +05:30
Timwi
7af71640d6
Typo fix 2021-06-22 12:44:05 +02:00
NTN Labs
3295f0f9de
Update README.md
some language changes
2021-06-22 10:01:06 +02:00
Thakee Nathees
41ed7dd991 class implemented 2021-06-21 12:13:37 +05:30
Thakee Nathees
4ba3ee2e28 __file__ added and some todos were completed 2021-06-20 09:29:26 +05:30
Thakee Nathees
e1628f1a73 docstring for pocket functions implemented 2021-06-18 14:52:24 +05:30
Thakee Nathees
e2d8533e27 Merge pull request #76 from ThakeeNathees/ci-workflow
CI-workflow implemented [1/2]
2021-06-16 03:28:30 +05:30
Thakee Nathees
7ab4e55d6e
bin hex literals implemented (#72) 2021-06-16 00:24:30 +05:30
Alexander Patel
c58159b63d
Fix typos + rename variables (#73)
* fixed typos in src/

* fixed typos in docs/

* fixed typos in README and tests/

* rename INITALIZE to INITIALIZE

* rename PRIMITE to PRIMITIVE

* rename moudle to module

Co-authored-by: Alexander Patel <acpatel@andrew.cmu.edu>
2021-06-15 13:07:49 +05:30
Thakee Nathees
6992f54ef3 Tail call optimization implemented 2021-06-13 21:57:54 +05:30
Thakee Nathees
4d2fc474f9 created an AUTHORS file. 2021-06-11 01:14:14 +05:30
Thakee Nathees
49c1fec85f
REPL implementation. (#47) 2021-06-09 16:12:26 +05:30
Derick Alangi
595f120ecd
A quick documentation on how to run a pocketlang program locally (#45)
* A quick documentation on how to run a pocketlang program locally

With a small factorial program written in pocketlang and executed
on the terminal, this demonstrates how to execute a script on a
loalhost using pocketlang binary

* Apply changes requested in review #1
2021-06-08 21:51:15 +05:30
Thakee Nathees
8800c1baf0 Merge pull request #41 from ThakeeNathees/fiber-vm
Fiber implemented.
2021-06-06 07:46:43 +05:30
Thakee Nathees
e1711b1c9d fiber implemented. 2021-06-06 03:10:58 +05:30
Thakee Nathees
d74a06eacf Merge pull request #39 from ThakeeNathees/style-guide
some style guides were enforced.
2021-06-04 13:46:52 +05:30
Thakee Nathees
0bebeaafdf some style guides were enforcde.
- according to https://github.com/mcinglis/c-style
2021-06-04 13:26:50 +05:30
Thakee Nathees
6ee8226a50 Merge pull request #38 from ThakeeNathees/more-docs
more comments written through out the source
2021-06-03 07:47:19 +05:30
Thakee Nathees
c9c0c56dbc Merge pull request #36 from ThakeeNathees/docs-improve
documentations updated
2021-06-02 09:24:28 +05:30
Thakee Nathees
3b36e9002e documentations updated 2021-06-02 09:13:56 +05:30
Thakee Nathees
ff0babb8a7 readme updated with preformance benchmarks 2021-05-31 05:31:41 +05:30
Thakee Nathees
185a71914a Iterations were heavily optimized 2021-05-27 15:38:33 +05:30
Thakee Nathees
53ac9a6ae8 yet another import statement refactor 2021-05-19 18:56:36 +05:30
Thakee Nathees
9c77ff5a6c docs buildscript updated 2021-05-14 15:14:39 +05:30
Thakee Nathees
1d2d88fa7a docs source moved to master
generated files only remain in docs/ branch
2021-05-12 13:42:54 +05:30
Thakee Nathees
3e444ad196 assertion function and tests impl.
- main moved to cli
2021-05-11 18:05:09 +05:30
Thakee Nathees
7ea8df652c language name changed to pocketlang 2021-05-08 16:24:07 +05:30
Thakee Nathees
d7495235aa a list of TODOs created 2021-02-16 23:58:03 +05:30
Thakee Nathees
39a3172d69 function literal implemented 2021-02-13 22:54:00 +05:30
Thakee Nathees
38a22fea9f iterator implemented 2021-02-12 23:14:07 +05:30
Thakee Nathees
2b132409e2 import statement refactored to a builtin function 2021-02-12 12:39:33 +05:30
Thakee Nathees
c77801daf3 initial commit 2021-02-07 13:17:58 +05:30