about summary refs log tree commit diff stats
path: root/055stream.subx
Commit message (Collapse)AuthorAgeFilesLines
* 6182 - start of support for safe handlesKartik Agaram2020-04-031-4/+4
| | | | | | | | | | | | | | So far it's unclear how to do this in a series of small commits. Still nibbling around the edges. In this commit we standardize some terminology: The length of an array or stream is denominated in the high-level elements. The _size_ is denominated in bytes. The thing we encode into the type is always the size, not the length. There's still an open question of what to do about the Mu `length` operator. I'd like to modify it to provide the length. Currently it provides the size. If I can't fix that I'll rename it.
* 6072Kartik Agaram2020-02-291-0/+2
| | | | | | | | | | | | | | I just did an experiment, and test_apps is spending over half its time (95 seconds that could be 40) redundantly clearing every stream before every test. And some of those streams are _large_; the translators for SubX and Mu use streams sizes pessimistically for the largest possible program they can handle (1MB per segment). A single test (the one in assort.subx) spends 24 seconds initializing 2 1MB-segments before processing a dozen lines of text in the blink of an eye. I'm not going to speed this up. But good to know.
* 5924Kartik Agaram2020-01-271-8/+8
|
* 5897 - rename comparison instructionsKartik Agaram2020-01-161-1/+1
| | | | | | | Signed and unsigned don't quite capture the essence of what the different combinations of x86 flags are doing for SubX. The crucial distinction is that one set of comparison operators is for integers and the second is for addresses.
* 5883 - drop the `ref` keywordKartik Agaram2020-01-121-1/+1
| | | | | | | | | | When I created it I was conflating two things: a) needing to refer to just the start, rather than the whole, and b) counting indirections. Both are kinda ill-posed. Now Mu will have just `addr` and `handle` types. Normal types will translate implicitly to `addr` types, while `handle` will always require explicit handling.
* 5876 - address -> addrKartik Agaram2020-01-031-4/+4
|
* 5804Kartik Agaram2019-12-081-9/+9
| | | | | Try to make the comments consistent with the type system we'll eventually have.
* 5700Kartik Agaram2019-10-171-2/+2
|
* 5698Kartik Agaram2019-10-151-4/+4
| | | | Thanks Andrew Owen for reporting this typo.
* 5666 - start of sugar for structured control flowKartik Agaram2019-09-191-2/+1
|
* 5592 - switch register names to lowercaseKartik Agaram2019-08-261-33/+33
|
* 5485 - promote SubX to top-levelKartik Agaram2019-07-271-0/+73
' href='#n298'>298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 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