about summary refs log tree commit diff stats
path: root/subx/001help.cc
Commit message (Collapse)AuthorAgeFilesLines
* 4436Kartik Agaram2018-07-271-2/+8
|
* 4427 - support for '--trace' argvKartik Agaram2018-07-261-0/+15
| | | | This ports commit 4421 to the subx/ program.
* 4413Kartik Agaram2018-07-251-3/+1
| | | | | Never mind, let's drop unused/vestigial altogether. Use absence of names to signal unused arguments.
* 4412Kartik Agaram2018-07-251-1/+1
| | | | Drop names of unused arguments.
* 4411Kartik Agaram2018-07-251-2/+6
| | | | Port commit 4235 to subx.
* 4409Kartik Agaram2018-07-251-3/+7
| | | | | | Word-wrap online help. Fixes #8.
* 4381Kartik Agaram2018-07-201-0/+3
| | | | Fix CI.
* 4378Kartik Agaram2018-07-201-1/+1
|
* 4376 - subx: online help includes supported opcodesKartik Agaram2018-07-201-3/+5
|
* 4375Kartik Agaram2018-07-201-20/+19
|
* 4374 - starting to use the online help systemKartik Agaram2018-07-201-1/+3
|
* 4373 - subx: beginnings of online helpKartik Agaram2018-07-201-9/+46
|
* 4289 - beginnings of a translator to ELFKartik Agaram2018-06-301-3/+2
| | | | | The source 'language' is still entirely open. We'll see how it evolves as I write programs in machine code.
* 4277 - make room for a 'compile' sub-commandKartik Agaram2018-06-271-1/+3
|
* 4276 - switching gears to subxKartik Agaram2018-06-271-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New plan: spend some time learning to program in machine code atop subx, relying solely on a tiny subset of kernel-provided syscalls. Gradually introduce helpers. Helpers we're sure we don't need, so far: a) Nested expressions b) Garbage collection c) One-size-fits-all memory allocation primitive d) Function overloading and generics Helpers we're sure we need, so far: a) Dependency-injected versions of syscalls b) Tangling directives c) Statically checked types Workflow for a C translator from ascii to binary: a) run generated machine code atop subx (unit tests probably go here) b) emit machine code packaged as an ELF file c) check that the ELF binary runs natively d) check that the ELF binary can be unwrapped and run atop subx This is different from a conventional compiler because the 'HLL' is unconstrained. It is also different from Forth given the emphasis on types. We want a simple stack that also encourages code sharing between programmers. Conventional languages grow monotonically complex. Forth discourages code sharing; it is non-trivial to figure out the 'shape' of data a strange function expects on the stack.
* 4063Kartik K. Agaram2017-10-141-2/+2
|
* 4014 - core skeleton for x86 interpreterKartik K. Agaram2017-10-111-16/+4
|
* 4011 - start of sub-x86 VMKartik K. Agaram2017-10-091-2/+2
|
* 3930 - experimental bytecode interpreterKartik K. Agaram2017-06-191-0/+220
3'>403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715